| Package | Affected versions | Patched versions |
|---|---|---|
| org.apache.sling:org.apache.sling.xss | ≥ 1.0.4, < 2.0.4 | 2.0.4 |
| org.apache.sling:org.apache.sling.xss.compat | = 1.1.0 | |
| sling xss protection api | = 2.0.0> 1.0.4, ≤ 1.0.18 | |
| sling xss protection api compat | = 1.1.0 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free