SCA: security update for org.apache.sling:org.apache.sling.xss (GHSA-7mfw-43c4-45mq)

medium Tenable Cloud Security Plugin ID 412140

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2017-15717)

See Also

https://github.com/advisories/GHSA-7mfw-43c4-45mq

Plugin Details

Severity: Medium

ID: 412140

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.69

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2017-15717

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/14/2022

Vulnerability Publication Date: 1/10/2018

Reference Information

CVE: CVE-2017-15717

BID: 104257

cwe: CWE-79