CVE-2025-48051 Cross-site scripting in Lila
Attackers can execute arbitrary scripts in user browsers via XSS in Lila due to unsafe innerHTML usage, potentially leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-48051?
CVE-2025-48051 is a medium-severity cross-site scripting vulnerability in Lichess Lila, published on 15 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
powertip.ts in Lila (for Lichess) before ab0beaf allows XSS in some applications because of an innerHTML usage pattern in which text is extracted from a DOM node and interpreted as HTML.
Weakness: CWE-79
Which versions are affected by CVE-2025-48051?
It affects 1 product.
Products include Lichess Powertip.ts.
How do I fix CVE-2025-48051?
No fix has been published for CVE-2025-48051 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-48051 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48051 exists.
Sources
Also known as GHSA-9xhx-p3c5-p4v6, GHSA-chv9-fg26-xg8h.