Skip to main content

Apache Sling XSS CVE-2026-123765

| EUVDEUVD-2026-124338 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
5.4
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Find app using getStyleToken for style output
  2. Delivery
    Craft markup in unquoted URL value
  3. Exploit
    Submit via user-controlled input
  4. Execution
    Victim renders page with injected token
  5. Impact
    Script executes in victim browser

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 to call xssAPI.getStyleToken() and place its output into an UNQUOTED URL within a CSS/style context while feeding it attacker-influenced input; the library bug only matters where this specific usage pattern exists. Limiting factors: the vulnerable code path is a protection API that developers must use in this particular and uncommon way, the output lands in a style/URL context rather than general HTML, victim browser interaction is needed to trigger execution, and the vendor rates overall impact as low. Applications that quote URLs or do not use getStyleToken() for style tokens are not affected.

Impact

Signals are sparse and point to genuinely low priority. The vendor rates this LOW and no CVSS vector, EPSS score, KEV listing, SSVC decision, or PoC is supplied; the vuln.today decision label is 'awaiting_data', so core exploitability signals are missing rather than conflicting. The flaw is in Apache Sling's XSS protection library itself: xssAPI.getStyleToken() fails to neutralize markup inside unquoted URLs, so a filter meant to prevent XSS can be bypassed. Real-world risk depends entirely on whether a consuming application actually routes attacker-controlled input through getStyleToken() into an unquoted URL in a style context, a non-default, developer-dependent usage pattern that is consistent with the LOW rating. There is no evidence of active exploitation and no EPSS probability to weigh; absent those, treat this as routine remediation during normal patch cycles rather than an emergency. The CVSS vector is absent, so attack vector, complexity and privilege requirements are assessed, not confirmed, and should be verified against the vendor advisory.

Exploit ScenarioDerived

An application built on Apache Sling uses xssAPI.getStyleToken() to sanitize a user-supplied value that is then emitted into an unquoted CSS url() or style context. Because the method accepts markup in unquoted URLs, an attacker submits a crafted value that breaks out of the style context and injects script, which executes in a victim's browser when they view the page. No public exploit identified at time of analysis.

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 – Nov 11, 2026

Cross-site scripting in the Apache Sling XSS protection API (xssAPI.getStyleToken()) before version 2.4.14, where the API accepts markup when generating style tokens for unquoted URLs. Only applications that call getStyleToken() and embed its output in an unquoted URL inside a CSS/style context with attacker-influenced input are exposed, and the victim must interact with the crafted page for script execution. The vendor rates the issue low severity and recommends upgrading to 2.4.14; no public exploit code or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade Apache Sling XSS to version 2.4.14, the release the vendor states fixes SLING-13406, and rebuild/redeploy any application that bundles the module. Where an immediate upgrade is not possible, review application code for calls to xssAPI.getStyleToken() whose output is written into unquoted URLs in CSS or style contexts; quoting the URL or avoiding getStyleToken() for style tokens removes the vulnerable usage pattern, and references should be consulted for details at https://issues.apache.org/jira/browse/SLING-13406 and https://seclists.org/oss-sec/2026/q4/671. No vendor-released patch other than the 2.4.14 upgrade is identified, and no public exploit code or active exploitation was identified at time of analysis.

Affected VersionsENISA

Apache Sling XSS 0 <2.4.14

Affected Packages

euvd apache_sling_xss fix: 2.4.14

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 is a RESTful web framework that maps request URLs to resources in a content tree and dispatches them to scripts and servlets. Its XSS module provides the xssAPI protection interface, which developers use to encode or validate untrusted values before rendering them. This CWE-79 (improper neutralization of input during web page generation) issue is specific to xssAPI.getStyleToken(): when the token is placed into an unquoted URL within a style context, markup is not adequately neutralized, so an attacker-influenced value can break out and inject content. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N, reflecting a network-reachable flaw that requires an uncommon downstream usage pattern (call getStyleToken() and emit it into an unquoted CSS URL), victim browser interaction, and scope change, with limited confidentiality and integrity impact and no availability impact. Applications that quote URLs or do not use getStyleToken() for style tokens are not affected. The trigger conditions beyond this usage pattern are not described in the available sources.

Know when the next one hits your stack

  • 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 (CNA) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.7 MEDIUM

Network-reachable XSS bypass but AC:H because it requires a consuming app to use getStyleToken() in an unquoted-URL style context; UI:R for victim rendering, S:C and C/I:L for browser-side script.

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

Primary rating from Vendor (CNA).

CVSS VectorVendor

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

Lifecycle Timeline

2
CVSS changed
Nov 17, 2026 - 17:22 NVD
5.4 (MEDIUM)
Patch available
Nov 12, 2026 - 11:02 EUVD

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
Sling XSS library module used by Sling/AEM-based CMS deployments, not universal
Data Quality
5 sources
Confidence: Medium

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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
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