Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents moderate real-world risk despite the 5.3 CVSS score. The CVSS vector (AV:N/AC:L/PR:L) correctly reflects network accessibility and low attack complexity, but the low impact ratings (VC:L/VI:L/VA:N) are appropriate given CSP mitigation. The key risk factors are: (1) Ease of exploitation-any account meeting basic seniority and game count thresholds can apply, and moderators reviewing streamer applications likely do not inspect for malicious stream titles; (2) High attacker motivation-streamers have legitimate audience reach, creating incentive for account takeover or credential stuffing; (3) Practical impact-stored injection persists across all viewers of the /streamer page and homepage, enabling large-scale phishing campaigns (e.g., injecting convincing fake login forms or chess.com clone redirects); (4) Detection difficulty-stream titles change legitimately, making anomaly detection challenging. The CSP mitigation is significant and reduces immediate RCE risk, but does not eliminate defacement, credential harvesting, or malware distribution via crafted links. SSVC framework suggests elevated priority: exploitation status is achievable without special tools (confirmed via commit fix), technical impact is moderate (phishing/defacement), and the attack population (approved streamers with audience reach) is non-trivial. This is not a zero-day and no automated weaponization is evident, but the combination of low barrier to account approval and high audience exposure warrants prompt patching. |
| Exploit ScenarioDerived | An attacker creates a Lichess account and waits 2+ days, then plays 15+ games to satisfy the streamer approval threshold. They apply for streamer status and receive moderator approval. The attacker then configures their Twitch or YouTube stream title to include HTML such as '<img src=x onerror="alert(1)">' or a crafted form that mimics a Lichess login page. When the attacker goes live, Lichess fetches the title and injects it directly into the /streamer page and homepage widget visible to all site visitors. Although CSP blocks the onerror handler, the attacker instead uses '<a href="https://phishing-site.com">Click here to verify account</a>' or other markup to craft a convincing phishing link. Visitors to the homepage or /streamer page see the injected link in the active streams list, click it, and are harvested for credentials. This scenario requires no special tools, only patience (2 days) and modest gaming activity (15 games), making it accessible to a wide threat actor population. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 06, 2026
Stored HTML injection in lichess.org allows approved streamers to inject arbitrary markup into the /streamer page and homepage 'Live streams' widget via their Twitch or YouTube stream title, enabling defacement and phishing attacks. The vulnerability requires an attacker to first obtain an approved streamer account (accounts older than 2 days with 15+ games, or verified accounts) and then moderate approval, but no additional privileges or authentication beyond that approval is needed. Content Security Policy blocks inline script execution, limiting the immediate scope to HTML/CSS-based attacks rather than arbitrary JavaScript execution. A upstream fix is available via commit 0d5002696ae705e1888bf77de107c73de57bb1b3, and no public exploit code or active exploitation has been reported.
RemediationAI
Immediately update Lila to a version that includes commit 0d5002696ae705e1888bf77de107c73de57bb1b3 or later. For the official lichess.org instance, this fix should have been deployed automatically upon commit merge. For self-hosted Lila deployments, pull the latest main branch or fetch the specific patched commit from the upstream repository (https://github.com/lichess-org/lila). The fix implements output encoding or HTML sanitization of stream titles prior to DOM insertion, neutralizing the injection vector. No workarounds are available short of disabling the live streams widget entirely or restricting streamer accounts; patches must be applied. Administrators should also review recent stream title history for any injected content and, if found, investigate for secondary attacks (phishing, malware distribution) against users who viewed the compromised pages. Refer to the GitHub security advisory (https://github.com/lichess-org/lila/security/advisories/GHSA-v7gh-939r-pfjq) and commit details (https://github.com/lichess-org/lila/commit/0d5002696ae705e1888bf77de107c73de57bb1b3) for implementation details.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a stored HTML injection (CWE-79) affecting the Lila chess server application (cpe:2.3:a:lichess-org:lila). Lichess automatically fetches and renders stream titles from external platforms (Twitch and YouTube) into dynamically generated HTML without proper sanitization or encoding. When a streamer goes live, the platform title is inserted directly into the DOM on both the dedicated /streamer page and the homepage widget that displays active streams. Although a Content Security Policy is deployed to prevent inline script execution (blocking <script> tags and event handlers), the absence of output encoding or HTML sanitization leaves the injection point vulnerable to structural HTML attacks such as tag injection, attribute manipulation, and CSS-based visual spoofing. The attack surface is accessible to any account that meets the baseline streamer requirements and passes moderator review-a process designed for community trust but not for validating untrusted external input.
Know when Lila gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
lichess.org is the forever free, adless and open source chess server. Any approved streamer can inject arbitrary HTML into /streamer and the homepage “Live streams” widget by placing markup in their Twitch/YouTube stream title. CSP is present and blocks inline script execution, but the issue is still a server-side HTML injection sink. To trigger this, a Lichess account only needs to satisfy the normal streamer requirements and get approved. Per Streamer.canApply, that means an account older than 2 days with at least 15 games, or a verified/titled account. After moderator approval, once the streamer goes live, Lichess pulls the platform title and renders it into the UI as-is. No extra privileges are needed beyond a normal approved streamer profile. This vulnerability is fixed with commit 0d5002696ae705e1888bf77de107c73de57bb1b3.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-19476
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB