Skip to main content

CVE-2026-103974: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in lichess-org lila

0
Medium
VulnerabilityCVE-2026-103974cvecve-2026-103974cwe-79
Published: 10/14/2026 (10/14/2026, 18:17:13 UTC)
Source: CVE Database V5
Vendor/Project: lichess-org
Product: lila

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.

CVSS v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected software

lichess-org

lila

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/14/2026, 19:02:57 UTC

Technical Analysis

The vulnerability in lichess-org's lila is an improper neutralization of input during web page generation (CWE-79), specifically a stored cross-site scripting issue. A user with permission to add a chapter to a study can insert malicious text into the PGN Annotator tag, which becomes Comment.Author.External and is returned verbatim by authorText. When a study node contains at least two comments, the UI code interpolates this author string directly into HTML via innerHTML without escaping, allowing attacker-controlled HTML and CSS to be rendered in other users' browsers. Although JavaScript injection is blocked by the site's content security policy, the vulnerability still permits navigation to attacker-controlled sites, content spoofing, and CSS-based data exposure. The issue was resolved in commit c54596c9e1569d378fe20f80d4c790c6fdee54c4.

Potential Impact

This vulnerability allows an attacker with limited privileges (ability to add a chapter to a study) to inject malicious HTML and CSS that other users will render when viewing the study. This can lead to user redirection to attacker-controlled sites, spoofing of site content, and exposure of data via CSS techniques. The content security policy mitigates JavaScript injection, reducing the risk of more severe attacks such as session hijacking or direct code execution. There is no indication of active exploitation in the wild.

Mitigation Recommendations

The vulnerability has been fixed by commit c54596c9e1569d378fe20f80d4c790c6fdee54c4. Users and administrators should update to the version including this commit to remediate the issue. No additional mitigations are indicated by the vendor advisory. Patch status is confirmed by the commit reference; no further action is required beyond applying this fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-01T16:09:08.456Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6acfceab2cdf04f656a1f712

Added to database: 10/14/2026, 18:49:15 UTC

Last enriched: 10/14/2026, 19:02:57 UTC

Last updated: 10/14/2026, 20:04:11 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses