CVE-2017-15717

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductApache Sling Xss Protection Api
PublishedJan 10, 2018
First seenJan 10, 2018

How to fix

Update
  • org.apache.sling:org.apache.sling.xss2.0.4 or later

Affected products

ProductAffected versionsFixed in
apache sling_xss_protection_api1.0.4 < v ≤ 1.0.18, 2.0.0—
apache sling_xss_protection_api_compat1.1.0—
org.apache.sling:org.apache.sling.xssMaven1.0.4 ≤ v < 2.0.42.0.4
org.apache.sling:org.apache.sling.xss.compatMavenNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.