org.apache.sling:org.apache.sling.xss@1.0.16 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.apache.sling:org.apache.sling.xss package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

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.

How to fix Cross-site Scripting (XSS)?

Upgrade org.apache.sling:org.apache.sling.xss to version 2.0.4 or higher.

[,2.0.4)