Skip to content
Heist/ feed
Medium

lichess.org: Stored HTML Injection via PGN Annotator Tag in Studies

Type: advisorySource: Official CVE List1 source record

lichess.org is the forever free, adless and open source chess server. Prior to commit c54596c9e1569d378fe20f80d4c790c6fdee54c4, a user who can add a chapter to a study can place attacker-controlled text in the PGN Annotator tag, which becomes Comment.Author.External and is returned verbatim by authorText. When a study node has at least two comments, ui/analyse/src/treeView/inlineView.ts interpolates that author string into HTML passed to the innerHTML hook without escaping it. Opening the affected study can therefore render stored attacker-controlled HTML and CSS for other viewers, including navigation to an attacker-controlled site, content spoofing, and CSS-based data exposure, although the site's content security policy blocks injected JavaScript. This vulnerability is fixed by commit c54596c9e1569d378fe20f80d4c790c6fdee54c4.

Announced Source revision 1
Original source ↗

CVE-2026-103974

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-103974

lila

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "lichess-org",
    "product": "lila",
    "versions": [
      {
        "status": "affected",
        "version": "< c54596c9e1569d378fe20f80d4c790c6fdee54c4"
      }
    ]
  }
]
Related CVEs
CVE-2026-103974

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#23087 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement