CVE-2026-45066

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductSensiolabs Symfony
PublishedJul 14, 2026
First seenJul 14, 2026

How to fix

Update
  • sensiolabs symfony6.4.40, 7.4.12, 8.0.12 or later
  • symfony/html-sanitizer6.4.40, 7.4.12, 8.0.12 or later
  • symfony/symfony6.4.40, 7.4.12, 8.0.12 or later

Affected products

ProductAffected versionsFixed in
sensiolabs symfony6.1.0 ≤ v < 6.4.40, 7.0.0 ≤ v < 7.4.12, 8.0.0 ≤ v < 8.0.126.4.40, 7.4.12, 8.0.12
symfony/html-sanitizerPackagist6.1.0 ≤ v < 6.4.40, 7.0.0 ≤ v < 7.4.12, 8.0.0 ≤ v < 8.0.126.4.40, 7.4.12, 8.0.12
symfony/symfonyPackagist6.1.0 ≤ v < 6.4.40, 7.0.0 ≤ v < 7.4.12, 8.0.0 ≤ v < 8.0.126.4.40, 7.4.12, 8.0.12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-45066 · Sensiolabs Symfony · Dark Radar