Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify page rendering user input via Sling XSS API
-
DeliveryCraft payload that bypasses sanitizer
-
ExploitInject via reflected or stored vector
-
ExecutionVictim loads affected page
-
ImpactScript executes in victim browser context
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 an application that uses the Apache Sling XSS Protection API (versions before 2.4.12) as its output-encoding/sanitization mechanism and renders attacker-influenced input through a code path where the library's neutralization is incomplete. Limiting factors: the attacker needs a reflected or stored injection point in the consuming application, victim user interaction (loading the affected page) is required for script execution, and applications that apply additional/independent output encoding or have upgraded to 2.4.12 are not exposed. Because no CVSS vector was published, whether the injection point itself requires authentication depends on the specific consuming application and is not confirmed from available data. |
| Impact | No CVSS score or vector was provided by Apache or NVD (both N/A), so severity signals must be inferred. The CWE-79 classification and product description confirm a genuine cross-site scripting flaw - notably a defect IN the Apache Sling XSS Protection API library itself (a sanitizer), meaning the neutralization routine fails to strip certain payloads, so applications relying on it as their sole XSS defense are exposed. EPSS is unavailable, the CVE is NOT in CISA KEV, and no public proof-of-concept was referenced; exploitation status is therefore 'no public exploit identified at time of analysis.' This is a moderate-priority defense-in-depth fix rather than an emergency: the standard XSS attack profile (remote, low complexity, but requiring victim interaction and reflected/stored injection context) plus the library's role behind Adobe AEM raises exposure, but there is no evidence of active or automated exploitation. Because the CVSS vector is missing, authentication requirements cannot be confirmed from the data - verify affected versions and impact against the Apache advisory before prioritizing. |
| Exploit ScenarioDerived | An attacker submits input containing a script payload that the pre-2.4.12 Sling XSS API fails to fully neutralize, so it is reflected or stored into a rendered page of an application (e.g., an Adobe AEM/Sling site) that trusts the library for sanitization. When a victim views the page, the injected JavaScript executes in their browser session, enabling session/cookie theft or UI actions in the victim's context. No public exploit code was identified in the provided intelligence. |
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 before 2.4.12 allows remote attackers to inject script that executes in a victim's browser when an application relying on the library's output encoding and sanitization renders attacker-influenced input through a code path where neutralization is incomplete. Exploitation is conditional: it requires a reflected or stored injection point in the consuming application and victim interaction (loading the affected page) for script execution, and applications that apply their own independent output encoding are not exposed. The vendor-released fix is version 2.4.12; no public exploit code identified at time of analysis, no EPSS data was supplied, and no public CVSS score or vector (Apache and NVD both N/A) exists, so severity must be inferred from the independently assessed vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
RemediationAI
Vendor-released patch: upgrade Apache Sling XSS to version 2.4.12 (bump the org.apache.sling.xss dependency in Maven or deploy the updated OSGi bundle), which Apache recommends and which fixes the incomplete neutralization. If the upgrade cannot be applied immediately, the effective compensating control is to stop treating the library as the sole sanitization layer: add independent, context-correct output encoding at the point of rendering (for example OWASP Java Encoder or an equivalent template-engine auto-escaping mode) and validate/sanitize untrusted input on the server side. The trade-off is that double encoding can alter rendered output for content that already relied on the library's escaping, so test affected pages before wide rollout. A restrictive Content-Security-Policy (no inline script, no untrusted script sources) limits script execution even when neutralization fails, but it may break legitimate inline scripts and third-party widgets. For stored-XSS paths, additionally restrict write access to the endpoints that persist the attacker-influenced content; note that this reduces functionality for legitimate contributors. No public exploit code identified at time of analysis, so prioritization should follow the conditional exposure described above rather than an active-exploitation signal. Vendor references: https://sling.apache.org/news.html and https://lists.apache.org/thread/nd0ncdk5qb9gqvn0s10rmhnbk887k1qo.
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
The affected component is the Apache Sling XSS Protection API (the org.apache.sling.xss OSGi bundle), a Java/OSGi library that applications built on Apache Sling use as their output-encoding and markup-sanitization mechanism - providing HTML/attribute/JavaScript encoding and safe-URL/href validation so that user-controlled or otherwise untrusted content can be safely emitted into generated web pages. The flaw is CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e. cross-site scripting), meaning the library's neutralization is incomplete for some input or context, so a consumer that trusts it as its sanitization layer can emit content that the browser interprets as executable script. The CPE cpe:2.3:a:apache_software_foundation:apache_sling_xss:*:*:*:*:*:*:*:* carries an unconstrained version wildcard, reflecting the advisory claim that all releases before 2.4.12 are affected regardless of platform. The assessed vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) confirms a network-reachable, low-complexity issue with a scope change and limited confidentiality/integrity impact, gated by user interaction; because no vendor CVSS vector was published, whether the injection point itself requires authentication is a property of the consuming application rather than of this library and is not confirmed 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
Remote reflected/stored XSS executing in the victim's browser: UI:R for victim page load, S:C as script crosses into the browser security context, C:L/I:L limited to session-scoped impact.
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 the Apache Sling XSS Protection API before version 2.4.12 allows unauthenticated remote attacker
Cross-site scripting in Apache Sling XSS versions before 2.4.12 allows unauthenticated remote attackers to defeat the li
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-85176
GHSA-j583-7q6g-jm53
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB