MODERATE 6.1
CVE-2016-5394
Cross site scripting in Apache Sling
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.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| 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 |
Blast radius
2affected artifacts
6affected versions
25dependent artifacts (est.)
156dependent versions
48% of the dependent artifacts (12) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 21 |
| 2 hops | 53 |
| 3 hops | 42 |
| 4 hops | 40 |
Most used dependents
- org.apache.sling » org.apache.sling.testing.clients26 usages
- com.adobe.cq » aem-cloud-testing-clients12 usages
- org.apache.sling » org.apache.sling.testing.rules7 usages
- com.icfolson.aem.library » aem-library-core6 usages
- com.adobe.cq » cq-testing-clients-654 usages
- com.adobe.cq » aem-selenium-it-base3 usages
- com.icfolson.aem.library » aem-library-models3 usages
- com.adobe.cq » core.wcm.components.it.e2e-selenium-utils2 usages
- com.adobe.qe » aem-td2-core-tests2 usages
- org.apache.sling » org.apache.sling.testing.serversetup1 usages
- com.adobe.cq » core.wcm.components.it.e2e-selenium0 usages
- com.adobe.aem.guides » aem-cif-guides-venia.it.tests0 usages
- com.adobe.aem.guides » aem-guides-wknd.it.tests0 usages
- io.github.valtech-ch » saas-aem.it.tests0 usages
- com.adobe.cq » cq-testing-clients-640 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2016-5394 | nvd.nist.gov |
| Web | apache/sling-org-apache-sling-xss commit de32b14 | github.com |
| Web | jensdietrich/xshady-release CVE-2016-5394 | github.com |
| Web | thread.html/332166037a54b97cf41e2b616aaed38439de94b19b204841478e4525@<dev.sling.apache.org ... | lists.apache.org |
| Web | bid/99870 | securityfocus.com |
