CVE-2017-15717
MEDIUM 6.1CVSS 3.0Cross-site Scripting in Apache Sling XSS Protection API
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.
- Published
- 10 Jan 2018
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-7mfw-43c4-45mq
- Sources
- NVDJSONOSV GHSA-7mfw-43c4-45mqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | sling_xss_protection_apicpe:2.3:a:apache:sling_xss_protection_api:*:*:*:*:*:*:*:* |
> 1.0.4, <= 1.0.18 | |
| NVD | apache | sling_xss_protection_apicpe:2.3:a:apache:sling_xss_protection_api:2.0.0:*:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | sling_xss_protection_api_compatcpe:2.3:a:apache:sling_xss_protection_api_compat:1.1.0:*:*:*:*:*:*:* |
= 1.1.0 | |
| OSV | Maven | org.apache.sling:org.apache.sling.xss | >= 1.0.4, < 2.0.4 | 2.0.4 |
| OSV | Maven | org.apache.sling:org.apache.sling.xss.compat | = 1.1.0 |
References
- https://s.apache.org/CVE-2017-15717 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-15717 · ADVISORY
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 10 Jan 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2022)