{"cve":"CVE-2017-15717","nvd":{"published":"2018-01-10T14:29:00.263","modified":"2026-06-17T01:08:09.467","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://s.apache.org/CVE-2017-15717","https://s.apache.org/CVE-2017-15717"],"products":["apache:sling_xss_protection_api","apache:sling_xss_protection_api_compat"],"source":"nvd","synced_at":"2026-10-19T20:47:56.471723566+00:00"},"epss":{"cve":"CVE-2017-15717","score":0.0291,"percentile":0.8699,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7mfw-43c4-45mq","url":"https://osv.dev/vulnerability/GHSA-7mfw-43c4-45mq","summary":"Cross-site Scripting in Apache Sling XSS Protection API","modified":"2023-11-08T03:58:58.608500Z","packages":[{"ecosystem":"Maven","name":"org.apache.sling:org.apache.sling.xss","purl":"pkg:maven/org.apache.sling/org.apache.sling.xss","ranges":[">=1.0.4 <2.0.4"],"fixed":["2.0.4"]},{"ecosystem":"Maven","name":"org.apache.sling:org.apache.sling.xss.compat","purl":"pkg:maven/org.apache.sling/org.apache.sling.xss.compat","ranges":["1.1.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}