{"id":"CVE-2017-15717","published":"2018-01-10T14:00:00Z","modified":"2024-09-17T01:06:14Z","title":"A flaw in the way URLs are escaped and encoded in the org.apache.sling.xss.impl.XSSAPIImpl#getValidHref and…","vendor":"Apache","product":"Apache Sling","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0291,"percentile":0.87318,"provenance":"source"},"cwes":[],"references":[{"url":"https://s.apache.org/CVE-2017-15717","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":17.46}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache 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"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.sling:org.apache.sling.xss","vulnerableRanges":[">=1.0.4, <2.0.4"],"patched":["2.0.4"],"from":["GHSA-7mfw-43c4-45mq"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.sling:org.apache.sling.xss.compat","vulnerableRanges":[],"patched":[],"from":["GHSA-7mfw-43c4-45mq"],"provenance":"source"}],"summary":{"text":"A flaw in how URLs are escaped and encoded in the XSSAPIImpl#getValidHref and XSSFilterImpl#isValidHref methods of Apache Sling's XSS Protection API lets specially crafted URLs pass validation even though they carry XSS payloads. An attacker can exploit this by supplying such a URL.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:05Z"},"euvd":{"id":"EUVD-2022-3033","exploited":false,"provenance":"source"}}