Skip to main content

Apache Sling XSS EUVDEUVD-2026-85176

| CVE-2026-91852 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-23 apache GHSA-j583-7q6g-jm53
6.1
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify page rendering user input via Sling XSS API
  2. Delivery
    Craft payload that bypasses sanitizer
  3. Exploit
    Inject via reflected or stored vector
  4. Execution
    Victim loads affected page
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache Sling XSS 0 <2.4.12

Affected Packages

euvd apache_sling_xss fix: 2.4.12

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

Vendor (apache) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Sep 23, 2026 - 11:17 EUVD

DescriptionCVE.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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
niche Java library but underpins widely-deployed Adobe AEM/Sling CMS stacks
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy