| Name | CVE-2026-45066 |
| Description | Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.1.0-BETA1 until 6.4.40, 7.4.12, and 8.0.12, HtmlSanitizer URL sanitization can allow off-allowlist URLs through allowLinkHosts() or allowMediaHosts() because UrlSanitizer::parse() follows RFC 3986 while browsers follow WHATWG URL parsing, and because <area href> is checked against the media policy rather than the link policy. This issue is fixed in versions 6.4.40, 7.4.12, and 8.0.12. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6312-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| symfony (PTS) | bullseye | 4.4.19+dfsg-2+deb11u6 | fixed |
| bullseye (security) | 4.4.19+dfsg-2+deb11u7 | fixed | |
| bookworm, bookworm (security) | 5.4.53+dfsg-0+deb12u1 | fixed | |
| trixie (security), trixie | 6.4.41+dfsg-0+deb13u1 | fixed | |
| forky, sid | 7.4.14+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| symfony | source | bullseye | (not affected) | |||
| symfony | source | bookworm | (not affected) | |||
| symfony | source | trixie | 6.4.41+dfsg-0+deb13u1 | DSA-6312-1 | ||
| symfony | source | (unstable) | 7.4.12+dfsg-1 |
[bookworm] - symfony <not-affected> (Vulnerable code not present, introduced in 6.1)
[bullseye] - symfony <not-affected> (Vulnerable code not present, introduced in 6.1)
https://symfony.com/blog/cve-2026-45066-htmlsanitizer-allowlinkhosts-allowmediahosts-bypass-via-url-parser-differentials-and-area-misclassification