Skip to content
OpenAdvisories
Medium · 6.1 CVE-2017-15717 EUVD-2022-3033GHSA-7mfw-43c4-45mq

Cross-site Scripting in Apache Sling XSS Protection API

Published Jan 10, 2018 · Updated Sep 17, 2024 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache Sling XSS Protection API 1.0.4 to 1.0.18, XSS Protection API Compat 1.1.0, XSS Protection API 2.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.sling:org.apache.sling.xss >= 1.0.4, < 2.0.4 2.0.4 GHSA-7mfw-43c4-45mq
Maven org.apache.sling:org.apache.sling.xss.compat 1.1.0 — GHSA-7mfw-43c4-45mq

References