Symfony: From 6.1.0-BETA1 until 6.4.40, 7.4.12, and 8.0.12, HtmlSanitizer URL sanitization can allow off-allowlist
Affects symfonySource GCVE Database
Not known to be exploited · CVSS 6.1 Medium · fixed in 6.4.40 : update symfony when convenient.
Data as of 28 Nov 2026, 18:37 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.4.40, 7.4.12, 8.0.12
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
Upgrade symfony/html-sanitizer and symfony/symfony to 6.4.40; symfony/html-sanitizer and symfony/symfony to 7.4.12; symfony/html-sanitizer and symfony/symfony to 8.0.12.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 16.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu 25.10symfonypkg:deb/ubuntu/symfony?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Symfony versions 6.4.40, 7.4.12, and 8.0.12. Users should upgrade to these or later versions to remediate the vulnerability. No vendor advisory content contradicts this; therefore, upgrading is the recommended mitigation.
Description
A vulnerability in the Symfony PHP framework's HtmlSanitizer component allows off-allowlist URLs to bypass restrictions due to differences in URL parsing between the sanitizer and browsers, and incorrect policy checks for <area href> elements. This affects versions from 6.1.0-BETA1 up to but not including 6.4.40, 7.4.12, and 8.0.12, where the issue is fixed. The vulnerability has a medium severity with a CVSS score of 6.1.