CVE-2026-45066
Symfony is a PHP framework for web and console applications and a set ...
Overview
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: OX vulnerability database
Severity
6.1 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-184, CWE-436
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | symfony/html-sanitizer | >=6.1.0, <6.4.40>=7.0.0, <7.4.12>=8.0.0, <8.0.12>=6.4.0, <6.4.40>=7.1.0, <7.2.0+7 more | 6.4.407.4.128.0.12 |
| Composer (PHP) | symfony/symfony | >=6.1.0, <6.4.40>=7.0.0, <7.4.12>=8.0.0, <8.0.12>=6.2.0, <6.3.0>=7.1.0, <7.2.0+7 more | 6.4.407.4.128.0.12 |
Open a package to see all its vulnerabilities.
Operating systems · 3 fixes
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | symfony | 6.4.41+dfsg-0+deb13u1 |
| 14 | symfony | 7.4.12+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| symfony | 6.4.41+dfsg-0+deb13u1 |
References
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/html-sanitizer/CVE-2026-45066.yaml
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-45066.yaml
- github.com https://github.com/symfony/symfony
- github.com https://github.com/symfony/symfony/commit/d506b556d3d3906f3e8660ad82257ce87edbaac4
- github.com https://github.com/symfony/symfony/releases/tag/v6.4.40
- github.com https://github.com/symfony/symfony/releases/tag/v7.4.12
- github.com https://github.com/symfony/symfony/releases/tag/v8.0.12
- github.com https://github.com/symfony/symfony/security/advisories/GHSA-qc95-4862-92fh
- symfony.com https://symfony.com/cve-2026-45066
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.