CVE-2016-5394
Medium
Description
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.
SeverityMedium
CVSS6.1
Exploit probability—
Product
Apache Sling
PublishedJul 19, 2017
First seenJul 19, 2017
How to fix
Update
- apache sling1.0.12 or later
- org.apache.sling:org.apache.sling.xss1.0.12 or later
- org.apache.sling:org.apache.sling.xss.compat1.1.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache sling | v < 1.0.12 | 1.0.12 |
| org.apache.sling:org.apache.sling.xssMaven | v < 1.0.12 | 1.0.12 |
| org.apache.sling:org.apache.sling.xss.compatMaven | v < 1.1.0 | 1.1.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.