Cross-Site Scripting Vulnerability in Apache Sling XSS Protection API
CVE-2016-5394
6.1MEDIUM
What is CVE-2016-5394?
The XSS Protection API module in Apache Sling, prior to version 1.0.12, suffers from a vulnerability due to insufficient input encoding in the XSSAPI.encodeForJSString() method. This weakness permits certain input patterns to bypass encoding, allowing the injection of script tags and exposing applications to potential Cross-Site Scripting (XSS) attacks. This vulnerability can lead to unauthorized execution of scripts in the context of the user's browser, hence compromising the security of the web application.
Affected Version(s)
Apache Sling prior to 1.0.12