Security mailing lists by PureSourceCode

CVE-2017-15717

MEDIUM 6.1CVSS 3.0

Cross-site Scripting in Apache Sling XSS Protection API

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.

Published
10 Jan 2018
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-7mfw-43c4-45mq
Sources
NVDJSONOSV GHSA-7mfw-43c4-45mqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache sling_xss_protection_api
cpe:2.3:a:apache:sling_xss_protection_api:*:*:*:*:*:*:*:*
> 1.0.4, <= 1.0.18
NVD apache sling_xss_protection_api
cpe:2.3:a:apache:sling_xss_protection_api:2.0.0:*:*:*:*:*:*:*
= 2.0.0
NVD apache sling_xss_protection_api_compat
cpe:2.3:a:apache:sling_xss_protection_api_compat:1.1.0:*:*:*:*:*:*:*
= 1.1.0
OSV Maven org.apache.sling:org.apache.sling.xss >= 1.0.4, < 2.0.4 2.0.4
OSV Maven org.apache.sling:org.apache.sling.xss.compat = 1.1.0

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 10 Jan 2018)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.