Interpretation Conflict in Symfony - CVE-2026-118517

 

Interpretation Conflict in Symfony - CVE-2026-118517

Published: December 1, 2026


Vulnerability identifier: #VU171318
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-118517
CWE-ID: CWE-436
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass the host allowlist and retain references to untrusted hosts in sanitized HTML.

The vulnerability exists due to inconsistent URL parsing between Symfony HtmlSanitizer's UrlSanitizer and web browsers when processing link or media URLs with a malformed authority. A remote attacker can supply HTML containing a URL that the sanitizer treats as hostless but a browser resolves to an external host to bypass the configured host allowlist.

Exploitation requires a host allowlist combined with relative links or relative media enabled. The default configuration is not affected.


Affected software

Symfony

How to mitigate CVE-2026-118517

Install security update from vendor's website.

Symfony - addressed in versions 6.4.50, 7.4.23, 8.1.11

External References

Related Security Bulletins