CVE-2017-15717
Cross-site Scripting in Apache Sling XSS Protection API
Description
A flaw in the way URLs are escaped and encoded in the org.apache.sling.xss.impl.XSSAPIImpl#getValidHref and org.apache.sling.xss.impl.XSSFilterImpl#isValidHref allows special crafted URLs to pass as valid, although they carry XSS payloads. The affected versions are Apache Sling XSS Protection API 1.0.4 to 1.0.18, Apache Sling XSS Protection API Compat 1.1.0 and Apache Sling XSS Protection API 2.0.0.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.sling » org.apache.sling.xss | >= 1.0.4, < 2.0.4 | 2.0.4 |
| org.apache.sling » org.apache.sling.xss.compat | See advisory | - |
Blast radius
47% of the dependent artifacts (62) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 89 |
| 2 hops | 304 |
| 3 hops | 335 |
| 4 hops | 337 |
| 5 hops | 201 |
| 6 hops | 13 |
Most used dependents
- org.apache.sling » org.apache.sling.testing.sling-mock.junit487 usages
- io.wcm » io.wcm.testing.aem-mock.junit580 usages
- org.apache.sling » org.apache.sling.testing.caconfig-mock-plugin58 usages
- com.composum.sling.core » composum-sling-core-commons52 usages
- com.adobe.cq » core.wcm.components.core49 usages
- org.apache.sling » org.apache.sling.testing.sling-mock.junit528 usages
- org.apache.sling » org.apache.sling.testing.clients26 usages
- io.wcm » io.wcm.testing.aem-mock.junit426 usages
- com.composum.pages » composum-pages-commons-bundle20 usages
- com.composum.platform » composum-platform-commons-bundle17 usages
- org.apache.sling » org.apache.sling.testing.sling-mock.core14 usages
- com.adobe.cq » aem-cloud-testing-clients12 usages
- com.composum.platform » composum-platform-staging-bundle11 usages
- com.composum.sling.core » composum-sling-user-management9 usages
- com.composum.platform » composum-platform-models-bundle9 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-2017-15717 | nvd.nist.gov |
| Web | CVE-2017-15717 | s.apache.org |
