# CVE-2026-103974: lichess.org: Stored HTML Injection via PGN Annotator Tag in Studies

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-14T18:17:13.770Z
- Modified: 2026-10-16T20:04:29.760Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- lichess-org lila: < c54596c9e1569d378fe20f80d4c790c6fdee54c4

## References

- <https://github.com/lichess-org/lila/security/advisories/GHSA-43g7-r6hp-ccf8> (exploit)
- <https://github.com/lichess-org/lila/commit/c54596c9e1569d378fe20f80d4c790c6fdee54c4>

## Sources

- CVE List: [CVE-2026-103974](https://www.cve.org/CVERecord?id=CVE-2026-103974), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2026-103974](https://nvd.nist.gov/vuln/detail/CVE-2026-103974), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-103974 · Whole record: https://cve.day/CVE-2026-103974.json · Rebuilt by cve.day 2026-11-25T22:59:44.779Z
