CVE-2026-103863

Apache Sling Engine: Include-protection mitigations bypassable via uncovered response-wrapper paths

Published Nov 5, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Apache Sling Engine. Content-Type, charset, and redirect changes from an included component evade the  protectheaders / checkcontenttype  enforcement through setHeader(), repeated calls to setContentType(), the charset APIs, Servlet 6.1 redirect overloads, and stale config - enabling stored XSS despite enabled protections.



This issue affects Apache Sling Engine before 3.0.4.



Users are recommended to upgrade to version 3.0.4, which fixes the issue.

Analysis

AI-generated

Technical impact

The Apache Sling Engine allows an attacker to embed malicious content into an included component, causing the engine to overwrite response headers, content type, charset, and redirect targets via setHeader, setContentType, and redirect overloads. These changes bypass the protectheaders and checkcontenttype mechanisms that normally neutralize cross‑site scripting. The result is a persistent XSS flaw that can be stored in the application’s content and served to users, enabling credential theft, session hijacking, or defacement.

Affected Systems

The affected product is Apache Software Foundation's Apache Sling Engine, version 3.0.4 and earlier. All deployments that have not upgraded beyond 3.0.4 are vulnerable.

Risk and Exploitability

The vulnerability has a CVSS score of 5.4, no EPSS score available, and is not listed in the CISA KEV catalog, suggesting it may not be actively exploited yet. However, the bypass of built‑in mitigations indicates a significant risk for exposed web interfaces. Based on the description, it is inferred that an attacker would need to control a page that is included by Sling Engine, possibly through crafted HTTP requests that inject payloads into the included component. This inference is not explicitly stated in the CVE description, and the exploit would likely require that environment. Because the protections are overridden, a standard XSS mitigation set up by the application may not stop the attack.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Apache Sling Engine 3.0.4 or later to address the vulnerability; this resolves the issues identified as CWE‑693 (Improper Neutralization of Input) and CWE‑79 (Cross‑Site Scripting).
  • If an immediate upgrade is not feasible, isolate or remove any included components that can accept user input and enforce strict output encoding before rendering (addresses CWE‑79).
  • Configure protectheaders and checkcontenttype settings to reject unintended setHeader or charset changes and ensure that all headers are set server‑side (addresses CWE‑693).

Generated by OpenCVE AI on November 6, 2026 at 13:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Apache
Apache apache Sling Engine
Vendors & Products Apache
Apache apache Sling Engine
Type Values Removed Values Added
Description Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Apache Sling Engine. Content-Type, charset, and redirect changes from an included component evade the  protectheaders / checkcontenttype  enforcement through setHeader(), repeated calls to setContentType(), the charset APIs, Servlet 6.1 redirect overloads, and stale config - enabling stored XSS despite enabled protections. This issue affects Apache Sling Engine before 3.0.4. Users are recommended to upgrade to version 3.0.4, which fixes the issue.
Title Apache Sling Engine: Include-protection mitigations bypassable via uncovered response-wrapper paths
Weaknesses CWE-693
CWE-79
References
Weaknesses
  • CWE-693

    Protection Mechanism Failure

  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 10, 2026, 7:09 PM
Reserved
Oct 1, 2026, 11:44 AM
Status
Awaiting Analysis
Published
Nov 5, 2026, 1:17 PM
Modified
Nov 12, 2026, 5:06 PM
Severity
Moderate
Public date
Nov 5, 2026, 12:31 PM