CVE-2017-15717 Cross-site Scripting in Apache Sling XSS Protection API
MediumCVSS 6.1
EPSS 2.9%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.sling/org.apache.sling.xss(Maven) | >= 1.0.4, < 2.0.4 | 2.0.4 |
| org.apache.sling/org.apache.sling.xss.compat(Maven) | = 1.1.0 | No fix listed |
| org.apache.sling/org.apache.sling.xss(Maven) | = 1.0.12 | No fix listed |
| org.apache.sling/org.apache.sling.xss(Maven) | = 1.0.14 | No fix listed |
| org.apache.sling/org.apache.sling.xss(Maven) | = 1.0.16 | No fix listed |
| org.apache.sling/org.apache.sling.xss(Maven) | = 1.0.18 | No fix listed |
| org.apache.sling/org.apache.sling.xss(Maven) | = 1.0.4 | No fix listed |
| org.apache.sling/org.apache.sling.xss(Maven) | = 1.0.6 | No fix listed |
| org.apache.sling/org.apache.sling.xss(Maven) | = 1.0.8 | No fix listed |
| org.apache.sling/org.apache.sling.xss(Maven) | = 2.0.0 | No fix listed |
| apache sling xss protection api | >= 1.0.4, <= 1.0.18 | No fix listed |
| apache sling xss protection api | = 2.0.0 | No fix listed |
| apache sling xss protection api compat | = 1.1.0 | No fix listed |
| Apache Sling | = XSS Protection API 1.0.4 to 1.0.18 | No fix listed |
| Apache Sling | = XSS Protection API Compat 1.1.0 | No fix listed |
| Apache Sling | = XSS Protection API 2.0.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- [users] 20180110 CVE-2017-15717: Insufficient XSS protection for HREF attributes in Apache Sling XSS Protection API mailing-list vendor-advisory
- github.com