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.
CVE-2026-45066
This low-severity CVE scores 2.3 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit probability: 0.0%, top 84% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.1
- EG Score
- 2.3(low)
- EG Risk
- —
- EPSS
- 21.1%
- KEV
- Not listed
Published
May 27, 2026
Last Modified
July 16, 2026
Advisory Details (5)
Auto-updated Jul 15, 2026HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URL-Parser Differentials and <area> Misclassification · Advisory · symfony/symfony · GitHub
https://github.com/symfony/symfony/security/advisories/GHSA-qc95-4862-92fhv8.0.12
Patch available: symfony/symfony v8.0.12
https://github.com/symfony/symfony/releases/tag/v8.0.12v7.4.12
Patch available: symfony/symfony v7.4.12
https://github.com/symfony/symfony/releases/tag/v7.4.12v6.4.40
Patch available: symfony/symfony v6.4.40
https://github.com/symfony/symfony/releases/tag/v6.4.40commit d506b556d3d3 (symfony/symfony)
Fix landed in symfony/symfony commit d506b556d3d3 — awaiting tagged release
https://github.com/symfony/symfony/commit/d506b556d3d3906f3e8660ad82257ce87edbaac4Vendor Advisories for CVE-2026-45066(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(2 across 1 ecosystem)
Packagist(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| symfony/html-sanitizer | v8.0.0, v8.0.7, v8.0.8 | 8.0.12 | — |
| symfony/symfony | v8.0.0 ... v8.0.9 (12 versions) | 8.0.12 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 13× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-16 16:30 UTCNVD updateCVSS v3 → 6.1 · severity → MEDIUM
- 2026-07-16 14:44 UTCMITRE cvelistV5CVSS v3 → 2.3 · severity → LOW
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 14:22 UTCNVD updateCVSS v3 → 6.1 · severity → MEDIUM
- 2026-07-14 18:07 UTCEG score recompute▲ 2.30
- 2026-07-14 18:05 UTCMITRE cvelistV5CVSS v3 → 2.3 · CVSS v4 → 2.3 · severity → LOW
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-05-27 20:35 UTCEG score recompute
Frequently asked(5)
What is CVE-2026-45066?
When was CVE-2026-45066 disclosed?
Is CVE-2026-45066 actively exploited?
What is the CVSS score of CVE-2026-45066?
How do I remediate CVE-2026-45066?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-45066
Is Your Infrastructure Affected by CVE-2026-45066?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.