Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app using Sling XSS API
-
DeliveryCraft filter-bypassing payload
-
ExploitSubmit via user-controlled input
-
ExecutionPayload stored/reflected in page
-
PersistVictim browser executes script
-
ImpactSession hijack or content spoof
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. |
| Exploitation Conditions | Exploitation requires a downstream application that actually uses the Apache Sling XSS library (versions before 2.4.12) to encode or filter untrusted input for web output; the attacker submits input that defeats the library's neutralization logic, and a victim must load the resulting page (user interaction required). Limiting factors: the flaw only manifests where the affected API path is invoked, XSS is client-side and needs a victim to render the payload, and applications that upgrade to 2.4.12 or do not use the affected filtering path are not exposed. The exact vulnerable API and whether the payload persists (stored) or is reflected are not specified in the advisory. |
| Impact | This is a reflected/stored cross-site scripting flaw (CWE-79) in the Apache Sling XSS protection library itself - the very component applications call to neutralize untrusted input - so a bypass here silently re-exposes every consuming application to XSS. No CVSS score or vector is provided by Apache or NVD, no EPSS probability is published, the CVE is not in CISA KEV, and no public proof-of-concept is referenced; therefore there is no public exploit identified at time of analysis and no evidence of active exploitation. Priority is moderate rather than urgent: XSS is inherently client-side and requires victim interaction, but because this is a security library used as a control, the real impact is amplified - a filter bypass can affect many downstream apps at once. Key data is MISSING and must be treated with caution: the exact injection vector (which encoding/filtering API is affected), whether the flaw is reflected vs. stored, and affected downstream configurations are not detailed in the advisory. The single reference is an Apache mailing-list thread; affected-version data ('before 2.4.12') is confirmed by Apache but no independent CVSS or exploitability signal exists. |
| Exploit ScenarioDerived | An attacker crafts input containing markup that bypasses Apache Sling XSS's sanitization/encoding routines and submits it to an application that relies on the library to render user-controlled content safely. When a victim views the resulting page, the payload executes in their browser session, enabling session/cookie theft or actions in the victim's context. No public proof-of-concept is available, and successful exploitation depends on a downstream application actually using the affected API for output that reaches other users. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 23, 2026
Cross-site scripting in Apache Sling XSS versions before 2.4.12 allows unauthenticated remote attackers to defeat the library's input-neutralization logic, so that crafted input passed through the affected encoding/filtering API is rendered unsafely in a victim's browser (user interaction required per the assessed vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N). The impact is indirect but broad: this library is the component downstream applications call to sanitize untrusted input, so a bypass silently re-exposes every consuming application to reflected or stored XSS. No public exploit code has been identified at time of analysis, no confirmed active exploitation (CISA KEV) is reported, and the vendor has released a fix in version 2.4.12.
RemediationAI
Vendor-released patch: Apache Sling XSS 2.4.12 - upgrade the org.apache.sling.xss dependency (or the bundled Sling distribution that contains it) to 2.4.12 or later and redeploy every consuming application, then rebuild and redeploy so the fixed classes replace any shaded or bundled copies; confirm the effective version with a dependency-tree/SCA scan, as transitive packaging can mask a stale artifact. Details are in the vendor advisory at https://lists.apache.org/thread/xpcsdkr80ow9p13f7hp3ykrhzky9d4t4. Where an immediate upgrade is not possible, first determine whether your application actually invokes the affected filtering path - if it does not, exposure is effectively nil and the urgency drops accordingly, though this must be verified rather than assumed. If it does, replace reliance on the affected routine with a maintained, context-aware encoder (for example OWASP Java Encoder) at every output sink; the trade-off is duplicated/mismatched encoding semantics that can introduce double-escaping or rendering defects and adds ongoing maintenance burden, so it should be treated as a temporary bridge. Deploying a strict Content-Security-Policy that disallows inline script and restricts script sources reduces exploitability when a bypass payload does reach the browser, but requires per-application tuning, may break legitimate inline JavaScript or third-party widgets, and does not fix the underlying defect. Input validation and length/charset restrictions on untrusted values lower the odds of a successful bypass but cannot substitute for correct output encoding.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Sling XSS is a Java utility library (the XSSAPI/XSS protection component of the Apache Sling web framework) that applications use to escape, encode, and validate untrusted strings before writing them into HTML, attribute, JavaScript, or URL contexts. CWE-79 (Improper Neutralization of Input During Web Page Generation) describes the root-cause class: the library fails to correctly neutralize certain input during output generation, so a payload that survives - or is produced by - the encoding routine is emitted into the page. Because the defective code is the neutralizer itself rather than application business logic, the flaw is context-independent for its consumers: any application that invokes the affected API path on attacker-influenced data inherits the XSS exposure. The CPE record cpe:2.3:a:apache_software_foundation:apache_sling_xss:*:*:*:*:*:*:*:* uses a wildcard version, indicating the advisory does not enumerate individual builds; the boundary established by the vendor is simply 'before 2.4.12.' The assessed vector shows scope change (S:C) with low confidentiality and integrity impact and no availability impact, consistent with a client-side scripting flaw. The advisory does not specify which API method is vulnerable, nor whether exploitation results in reflected or stored XSS; both remain undetermined from available data.
Know when Apache Sling Xss 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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Network-reachable XSS with no privileges but requiring victim interaction (UI:R); scope changes to the victim browser (S:C) with limited confidentiality/integrity impact and no availability effect.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
1DescriptionCVE.org
Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Apache Sling XSS.
This issue affects Apache Sling XSS: before 2.4.12.
Users are recommended to upgrade to version 2.4.12, which fixes the issue.
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.
More in Apache Sling Xss
View allCross-site scripting in Apache Sling XSS before 2.4.12 allows remote attackers to inject script that executes in a victi
Cross-site scripting in the Apache Sling XSS Protection API before version 2.4.12 allows unauthenticated remote attacker
Reflected cross-site scripting in the Apache Sling XSS library 2.4.10 and earlier arises because the XSSAPI.getValidHref
Denial of service in Apache Sling XSS (before 2.4.12) allows remote unauthenticated attackers to exhaust server resource
EUVD-2026-85175
GHSA-p3rj-cf34-r824
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB