{"id":"CVE-2026-103974","aliases":["CVE-2026-103974"],"related":[],"kind":"vulnerability","state":"published","title":"lichess.org: Stored HTML Injection via PGN Annotator Tag in Studies","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-14T18:17:13.770Z","modified":"2026-10-16T20:04:29.760Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< c54596c9e1569d378fe20f80d4c790c6fdee54c4","status":"affected"}],"vendor":"lichess-org","product":"lila","source":"cvelist"}],"references":[{"url":"https://github.com/lichess-org/lila/security/advisories/GHSA-43g7-r6hp-ccf8","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/lichess-org/lila/commit/c54596c9e1569d378fe20f80d4c790c6fdee54c4","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-10-14T19:40:54.734Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-103974","url":"https://www.cve.org/CVERecord?id=CVE-2026-103974","licence":"CVE Terms of Use","modified":"2026-10-14T19:41:15.577Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-103974","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103974","licence":"Public domain","modified":"2026-10-16T20:04:29.760Z"}],"updatedAt":"2026-11-25T22:59:44.779Z","epss":{"score":0.00214,"percentile":0.12585,"date":"2026-12-01T12:00:22.000Z"}}