CVE-2026-91852

Apache Sling XSS: CWE-79 multiple raw-string break-outs and ReDOS in XSSImpl

Published Sep 23, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The flaw lies in the failure to neutralize user‑supplied text when constructing web pages, allowing attackers to embed raw string fragments that break out of their intended boundaries and execute arbitrary JavaScript in a victim’s browser. This injection vulnerability is classified as an input validation weakness (CWE‑79) and can also unintentionally enable a regular‑expression denial‑of‑service attack due to the way the input is processed. Such an attack can compromise user data confidentiality, allow tampering with page content, or provide a vehicle for further exploitation.

Affected Systems

The issue applies to all releases of Apache Sling XSS earlier than version 2.4.12, distributed by the Apache Software Foundation. Deployments running these affected versions render unescaped content and are therefore vulnerable.

Risk and Exploitability

The EPSS score indicates a probability of exploitation below 1 %, and the flaw is not listed in the CISA KEV catalog. The CVSS score of 6.1 reflects a moderate severity. Nevertheless, cross‑site scripting remains a high‑impact risk that can be triggered through ordinary web requests by unauthenticated users. Because the application renders user input without proper encoding, an attacker can inject malicious payloads via public endpoints or content submission APIs, making abuse likely where the vulnerability exists. The lack of authentication or privilege checks in the affected code path amplifies the risk, especially for sites that allow user‑generated pages or comments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Sling XSS to version 2.4.12 or later to eliminate the neutralization defect.
  • Restrict or eliminate the use of public content‑submission endpoints, requiring authenticated, authorized users and applying strict input validation and output encoding for any remaining legacy fields.
  • Deploy a web application firewall or configure application‑level rules that detect and block common XSS payload patterns until the upgrade is complete.

Generated by OpenCVE AI on September 23, 2026 at 16:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Apache sling Xss Protection Api
CPEs cpe:2.3:a:apache:sling_xss_protection_api:*:*:*:*:*:*:*:*
Vendors & Products Apache sling Xss Protection Api
Type Values Removed Values Added
First Time appeared Apache
Apache sling Xss
Vendors & Products Apache
Apache sling Xss
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Apache Sling XSS: CWE-79 multiple raw-string break-outs and ReDOS in XSSImpl
Weaknesses CWE-79
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 23, 2026, 5:08 PM
Reserved
Sep 15, 2026, 8:57 AM
Status
Analyzed
Published
Sep 23, 2026, 10:17 AM
Modified
Sep 30, 2026, 4:13 PM