CVE-2022-45064Apache Sling Engine
Critical 9.0
Follow: this CVE · Apache · Apache Sling Engine We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 9.0
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 65
- Auth required
- Yes
- Published
- Apr 13, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
What happens
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 >= 2.14.0 and enable the "Check Content-Type overrides" configuration option.
What to do
- Apply the vendor's security update for Apache Sling Engine.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.sling:org.apache.sling.engine |
< 2.14.0 |
2.14.0 |
— |
Per OSV / GitHub Advisories (GHSA-mg46-f9h5-g27x). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | apache_sling_engine | < 2.14.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List
- lists.apache.org Mailing List Vendor Advisory