CVE-2017-15717 json
Cross-site Scripting in Apache Sling XSS Protection API
published 2018-01-10 8 y ago modified 2026-06-17 4 mo ago also GHSA-7mfw-43c4-45mq , EUVD-2022-3033
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.sling:org.apache.sling.xss 2.0.4
Exploit prediction
2.91% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.sling:org.apache.sling.xss | >=1.0.4, <2.0.4 |
2.0.4 |
| maven | org.apache.sling:org.apache.sling.xss.compat | 1 listed version |
no fix listed |
Affected products
- Apache Software Foundation Apache Sling
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
s.apache.org
/CVE-2017-15717
mailing-list, web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-15717
advisory
Sources
- CVE List CVE-2017-15717
- GitHub Advisory GHSA-7mfw-43c4-45mq
- NVD CVE-2017-15717
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.