CVE-2026-45066
Fixed in a distro release EPSS <1%CVSS 2.3
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.
Products: symfony, symfony html-sanitizer
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Packagist | symfony/html-sanitizer | 6.4.40 |
| Packagist | symfony/html-sanitizer | 7.4.12 |
| Packagist | symfony/html-sanitizer | 8.0.12 |
| Packagist | symfony/symfony | 6.4.40 |
| Packagist | symfony/symfony | 7.4.12 |
| Packagist | symfony/symfony | 8.0.12 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 13 | symfony | 6.4.41+dfsg-0+deb13u1 |
| Debian 14 | symfony | 7.4.12+dfsg-1 |
| Ubuntu 16.04 LTS | symfony | no fix |
| Ubuntu 25.10 | symfony | no fix |
| Ubuntu 26.04 LTS | symfony | no fix |
| Ubuntu 26.10 | symfony | no fix |
| Ubuntu Pro 18.04 LTS | symfony | no fix |
| Ubuntu Pro 20.04 LTS | symfony | no fix |
| Ubuntu Pro 22.04 LTS | symfony | no fix |
| Ubuntu Pro 24.04 LTS | symfony | no fix |