PT-2018-5986 · Apache · Apache Sling Xss Protection Api
Published
2018-01-10
·
Updated
2022-05-14
·
CVE-2017-15717
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions:
Apache Sling XSS Protection API versions 1.0.4 through 1.0.18
Apache Sling XSS Protection API Compat version 1.1.0
Apache Sling XSS Protection API version 2.0.0
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 specially crafted URLs to pass as valid, although they carry XSS payloads.Recommendations:
For Apache Sling XSS Protection API versions 1.0.4 through 1.0.18, update to a version outside of this range to resolve the issue.
For Apache Sling XSS Protection API Compat version 1.1.0, consider disabling the
org.apache.sling.xss.impl.XSSAPIImpl#getValidHref and org.apache.sling.xss.impl.XSSFilterImpl#isValidHref functions until a patch is available.
For Apache Sling XSS Protection API version 2.0.0, restrict the use of the org.apache.sling.xss.impl.XSSAPIImpl#getValidHref and org.apache.sling.xss.impl.XSSFilterImpl#isValidHref functions to minimize the risk of exploitation.Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Sling Xss Protection Api