Skip to main content

Apache Sling XSS EUVDEUVD-2026-85175

| CVE-2026-91999 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-23 apache GHSA-p3rj-cf34-r824
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 app using Sling XSS API
  2. Delivery
    Craft filter-bypassing payload
  3. Exploit
    Submit via user-controlled input
  4. Execution
    Payload stored/reflected in page
  5. Persist
    Victim browser executes script
  6. Impact
    Session 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.

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

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

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

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

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.

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 89% exploitable
Prevalence
Medium
Core XSS-protection bundle underpinning Apache Sling and Adobe AEM deployments
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