symfony/html-sanitizer · Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar
Affects symfony/html-sanitizerSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 6.4.50 when convenient.
Data as of 1 Dec 2026, 23:46 UTC
Thin evidence
One scorer or none| CNA (Checkmarx) | CVSS 4.0 | 5.3 |
|---|
- Patch
- Available – fixed in 6.4.50, 7.4.23, 8.1.11
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Nov 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 1 Dec 2026.
What to do
Upgrade symfony/html-sanitizer and symfony/symfony to 6.4.50; symfony/html-sanitizer and symfony/symfony to 7.4.23; symfony/html-sanitizer and symfony/symfony to 8.1.11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistsymfony/html-sanitizer | Affected
| Fixed in
|
| Packagistsymfony/html-sanitizer | Affected
| Fixed in
|
| Packagistsymfony/html-sanitizer | Affected
| Fixed in
|
| Packagistsymfony/symfony | Affected
| Fixed in
|
| Packagistsymfony/symfony | Affected
| Fixed in
|
| Packagistsymfony/symfony | 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
Apply the official patch available in symfony/html-sanitizer versions 6.4.50, 7.4.23, and 8.1.11 or later. The patch fully parses meta refresh content attributes according to the WHATWG specification and drops unsafe attributes. No other mitigation is required as the patch addresses the root cause. Review configurations that allow meta elements with http-equiv and content attributes to ensure they are updated.
Description
The Symfony HtmlSanitizer component's MetaRefreshAttributeSanitizer did not fully sanitize meta refresh URLs due to a regex that matched only a narrow subset of browser-supported refresh grammar. This allowed certain refresh directives with URLs to bypass URL sanitization and host allow-list checks, potentially enabling navigation to untrusted or malicious URLs. The issue affects configurations allowing meta elements with http-equiv and content attributes, including the allowStaticElements() preset. A patch was released that aligns parsing with the WHATWG declarative refresh specification and drops unsafe attributes. The fix is available in Symfony versions 6.4.50, 7.4.23, and 8.1.11 and later.
References
- github.com/symfony/symfony/security/advisories/GHSA-wm2w-4mgj-vw33 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-121373 (opens in a new tab)
- github.com/symfony/symfony/commit/2d4c4fe36200858b91132a95076fff3d9de89d26 (opens in a new tab)
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/html-sanitizer/CVE-2026-121373.yaml (opens in a new tab)
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-121373.yaml (opens in a new tab)
- github.com/symfony/symfony (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v6.4.50 (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v7.4.23 (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v8.1.11 (opens in a new tab)