GHSA-7mfw-43c4-45mqMediumCVSS 6.1

Cross-site Scripting in Apache Sling XSS Protection API

Published
May 14, 2022
Last Modified
January 27, 2023

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products2

  • maven/org.apache.sling:org.apache.sling.xss:>= 1.0.4, < 2.0.4
  • maven/org.apache.sling:org.apache.sling.xss.compat:= 1.1.0

🔗 References (3)