Cross-site Scripting (XSS) Affecting org.apache.sling:org.apache.sling.xss package, versions [,2.0.4)
Snyk CVSS
Attack Complexity
Low
User Interaction
Required
Scope
Changed
Threat Intelligence
EPSS
0.19% (56th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGAPACHESLING-32064
- published 6 Feb 2018
- disclosed 10 Jan 2018
- credit Unknown
Introduced: 10 Jan 2018
CVE-2017-15717 Open this link in a new tabHow to fix?
Upgrade org.apache.sling:org.apache.sling.xss
to version 2.0.4 or higher.
Overview
org.apache.sling:org.apache.sling.xss is a package for providing XSS protection based on the OWASP AntiSamy and OWASP Java Encoder libraries.
Affected versions of this package are vulnerable to Cross-site Scripting (XSS). A flaw in the way URLs are escaped and encoded allows special crafted URLs to pass as valid, although they carry XSS payloads.