CVE-2026-123765 Apache Sling XSS: xssAPI.getStyleToken() accepts markup in unquoted urls.
Attackers can inject markup into unquoted URLs that Apache Sling XSS accepts, enabling cross-site scripting in applications using it.
- 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
- Harmful if only installed
- No
- Needs a specific call
- Yes
- Fix
- None listed
What is CVE-2026-123765?
CVE-2026-123765 is a cross-site scripting vulnerability in Apache Sling XSS, published on 12 Nov 2026. 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
Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Apache Sling XSS. xssAPI.getStyleToken() accepts markup in unquoted urls.
This issue affects Apache Sling XSS: before 2.4.14.
Users are recommended to upgrade to version 2.4.14, which fixes the issue.
Weakness: CWE-79
Which versions are affected by CVE-2026-123765?
An affected version is only exploitable if your software calls xssAPI.getStyleToken(). Many projects that include it are not exposed.
How do I fix CVE-2026-123765?
No fix has been published for CVE-2026-123765 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-2026-123765 being exploited?
There is no known exploitation of CVE-2026-123765 in the wild and no public exploit code.
Sources
Also known as GHSA-rc4h-46w7-hp9c.