XSS in Apache Sling Xss Protection API
CVE-2017-15717
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.029 (85.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Apache Sling_xss_protection_api — versions 2.0.0
- Apache Sling_xss_protection_api_compat — versions 1.1.0
- Apache Software Foundation Sling — versions XSS Protection API 1.0.4 to 1.0.18, XSS Protection API Compat 1.1.0, XSS Protection API 2.0.0
Weakness classification (CWE)
References
- security@apache.org (Vendor Advisory, mailing-list, x_refsource_MLIST)
Frequently asked questions
- What is CVE-2017-15717?
- CVE-2017-15717 is a medium-severity vulnerability in Apache Sling Xss Protection API, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2018-01-10.
- How severe is CVE-2017-15717?
- Medium severity. CVSS v3 base score is 6.1 out of 10.