All reports
Medium

Cross-site Scripting in Apache Sling XSS Protection API

Affected versions

Affected versions
= 1.1.0
Fixed version
Not reported
Affected versions
>= 1.0.4, < 2.0.4
Fixed version
2.0.4

Exploitation

CVE-2017-15717

Probability of exploitation in the next 30 days: 2.91%

FIRST EPSS · 2026-11-21

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.

Links