| Package | Affected versions | Patched versions |
|---|---|---|
| org.apache.sling:org.apache.sling.xss | < 1.0.12 | 1.0.12 |
| org.apache.sling:org.apache.sling.xss.compat | < 1.1.0 | 1.1.0 |
| sling | < 1.0.12 | 1.0.12 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free