VYPR
Medium severity6.1NVD Advisory· Published Jul 14, 2026· Updated Jul 16, 2026

CVE-2026-45066

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 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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
symfony/html-sanitizerPackagist
>= 6.1.0, < 6.4.406.4.40
symfony/html-sanitizerPackagist
>= 7.0.0, < 7.4.127.4.12
symfony/html-sanitizerPackagist
>= 8.0.0, < 8.0.128.0.12
symfony/symfonyPackagist
>= 6.1.0, < 6.4.406.4.40
symfony/symfonyPackagist
>= 7.0.0, < 7.4.127.4.12
symfony/symfonyPackagist
>= 8.0.0, < 8.0.128.0.12

Affected products

2

Patches

Vulnerability mechanics

References

9

News mentions

0

No linked articles in our index yet.