Cross site scripting in Apache Sling
Moderate severity
GitHub Reviewed
Published
May 13, 2022
to the GitHub Advisory Database
•
Updated Oct 11, 2023
Description
Published by the National Vulnerability Database
Jul 19, 2017
Published to the GitHub Advisory Database
May 13, 2022
Reviewed
Nov 3, 2022
Last updated
Oct 11, 2023
In the XSS Protection API module before 1.0.12 in Apache Sling, the encoding done by the XSSAPI.encodeForJSString() method is not restrictive enough and for some input patterns allows script tags to pass through unencoded, leading to potential XSS vulnerabilities.
References