Back
CVE-2017-15717
A flaw in the way URLs are escaped and encoded in the org.apache.sling.xss.impl.XSSAPIImpl#getValidHref and…
Medium6.1EPSS 2.9%
- Published
- Updated
- Reserved
- Assigned by
- apache
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 2.9% · top 13% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
- Insufficient XSS protection
- CWE-79 (opens in a new tab)All about CWE-79 and its CVEs
Affected products
Apache Software Foundation · Apache Sling
- affected XSS Protection API 1.0.4 to 1.0.18
- affected XSS Protection API Compat 1.1.0
- affected XSS Protection API 2.0.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.sling:org.apache.sling.xssGHSA-7mfw-43c4-45mq (opens in a new tab)
- Mavenorg.apache.sling:org.apache.sling.xss.compatGHSA-7mfw-43c4-45mq (opens in a new tab)
References (1)
- [users] 20180110 CVE-2017-15717: Insufficient XSS protection for HREF attributes in Apache Sling XSS Protection API (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7mfw-43c4-45mq (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-15717)Record last updated .