MEDIUMCVSS v3.1 4.3Vulnerability

CVE-2026-118517

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.

Properties

Severity
MEDIUM
Nvd fetched at
2026-11-05T18:05:53.357748+00:00
Cvss severity
MEDIUM
Cvss score
4.3
Retrieved at
2026-11-05T18:06:50+00:00
Score
4.3
Cvss version
3.1
Last source
NVD
Cve id
CVE-2026-118517
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
First seen by Signal
2026-11-05T18:02:03+00:00
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Published at
2026-11-05T17:17:53.147
Last modified
2026-11-05T17:17:53.147

Related Entities (2)

HAS_WEAKNESS (2)

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-118517 (CVSS v3.1 4.3) — Ninja Signal Threat Intelligence | Ninja Signal