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.