CVE-2022-45064: Apache Sling Engine: Include-based XSS
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2022-45064?
CVE-2022-45064 is classified as a medium severity vulnerability due to the potential for cross-site scripting attacks.
How do I fix CVE-2022-45064?
To fix CVE-2022-45064, upgrade Apache Sling to version 2.14.0 or later.
What types of attacks can CVE-2022-45064 facilitate?
CVE-2022-45064 can facilitate include-based cross-site scripting attacks.
Who is affected by CVE-2022-45064?
CVE-2022-45064 affects users of Apache Sling versions prior to 2.14.0.
Can CVE-2022-45064 be exploited remotely?
Yes, CVE-2022-45064 can be exploited remotely by attackers able to include malicious resources.