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.
Remediation
References
https://s.apache.org/CVE-2017-15717
Related Vulnerabilities
CVE-2021-44145 Vulnerability in maven package org.apache.nifi:nifi
CVE-2012-5633 Vulnerability in maven package org.apache.cxf:cxf-rt-core
CVE-2018-3818 Vulnerability in npm package kibana
CVE-2022-34807 Vulnerability in maven package org.jenkins-ci.plugins:elasticsearch-query
CVE-2014-0094 Vulnerability in maven package org.apache.struts:struts2-core