High, CVSS 8.0MavenPublished
Apache Sling Engine vulnerable to cross-site scripting (XSS) that can lead to privilege escalation
CVE-2022-45064 · GHSA-mg46-f9h5-g27x
- Affected
- Maven org.apache.sling:org.apache.sling.engine < 2.14.0
- Fixed in
- 2.14.0· Vendor fix available
- Issue
- The SlingRequestDispatcher doesn't correctly implement the RequestDispatcher API resulting in a generic type of include-based cross-site scripting issues on the Apache Sling level. The vulnerability is exploitable by an attacker that is able to include a resource with specific content-type and control the include path (i.e. writing content). The impact of a successful attack is privilege escalation to administrative power. Please update to Apache Sling Engine version 2.14.0 or newer and enable the "Check Content-Type overrides" configuration option.
Recommended action: Upgrade to 2.14.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.