Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
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.
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.