Skip to main content

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

CVE-2022-45064

Severity High
Score 9/10

Summary

The SlingRequestDispatcher doesn't correctly implement the RequestDispatcher API, resulting in a generic type of include-based Cross-site Scripting(XSS) issues on the Apache Sling level. The vulnerability is exploitable by an attacker that is able to include a resource with a specific content type and control the included path (i.e. writing content). The impact of a successful attack is a privilege escalation to administrative power. This vulnerability affects Apache Sling Engine versions prior to 2.14.0. It is recommended to upgrade to a fixed version and enable the "Check Content-Type overrides" configuration option.

  • LOW
  • NETWORK
  • HIGH
  • CHANGED
  • REQUIRED
  • LOW
  • HIGH
  • HIGH

CWE-79 - Cross Site Scripting

Cross-Site Scripting, commonly referred to as XSS, is the most dominant class of vulnerabilities. It allows an attacker to inject malicious code into a pregnable web application and victimize its users. The exploitation of such a weakness can cause severe issues such as account takeover, and sensitive data exfiltration. Because of the prevalence of XSS vulnerabilities and their high rate of exploitation, it has remained in the OWASP top 10 vulnerabilities for years.

Advisory Timeline

  • Published