SCA: security update for symfony/html-sanitizer, symfony/symfony (GHSA-c76g-9c4c-gxrw)

low Tenable Self-Hosted Container Security Plugin ID 489490

Description

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

- The Symfony HtmlSanitizer component UrlSanitizer parses URLs differently from browsers, allowing the
allowLinkHosts() and allowMediaHosts() checks to be bypassed for URLs without a well-formed authority,
resulting in untrusted hosts being referenced in sanitized output in Symfony versions 6.1.x prior to
6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. UrlSanitizer parses URLs with league/uri, which
follows RFC 3986, while browsers follow the WHATWG URL standard. For URLs without a well-formed authority,
such as http:evil.example, ///evil.example, or https://://evil.example/ the sanitizer finds no host,
whereas browsers resolve them to evil.example. The guard added for CVE-2026-45066 missed the zero-slash
form, and the host 0 was also skipped because PHP treats it as falsy. This is exploitable when a host
allow-list is combined with allowRelativeLinks(true) or allowRelativeMedias(true). The default
configuration is not affected. (CVE-2026-118517)

Solution

Update the symfony/html-sanitizer library and its related packages to version 6.4.50 or later.

See Also

https://github.com/advisories/GHSA-c76g-9c4c-gxrw

Plugin Details

Severity: Low

ID: 489490

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/2/2026

Updated: 12/2/2026

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-118517

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

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

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

CVSS v4

Risk Factor: Low

Base Score: 2.3

Threat Score: 0.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/1/2026

Vulnerability Publication Date: 11/5/2026

Reference Information

CVE: CVE-2026-118517