CVE-2026-121373
The Symfony HtmlSanitizer componentMetaRefreshAttributeSanitizer, intr ...
Overview
Description
The Symfony HtmlSanitizer component MetaRefreshAttributeSanitizer, introduced to fix CVE-2026-48761, sanitizes the refresh URL of content attributes of meta tags using a regular expression that is too narrow, allowing sanitization to be bypassed, and resulting in potential URL redirection to untrusted sites in Symfony versions 6.1.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11.
The shared declarative refresh steps in the WHATWG HTML Standard require a broader approach: the separator after the time may be ASCII whitespace alone, with no ; or ,, and the url= keyword is optional. Directives the browser honours, but the regular expression misses are returned unchanged, so the attacker URL skips UrlSanitizer entirely and both allowLinkSchemes and allowLinkHosts are defeated for the refresh navigation.
This is reachable under any configuration that allows meta with http-equiv and content, including the documented allowStaticElements() preset.
Source: OX vulnerability database
Severity
MEDIUM
No CVSS vector in the source. Severity comes from the advisory.
Weakness: CWE-186, CWE-601
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | symfony/html-sanitizer | >=6.2.0, <6.3.0>=6.4.0, <6.4.50>=7.0.0, <7.1.0>=7.1.0, <7.2.0>=7.2.0, <7.3.0+6 more | No fix yet |
| Composer (PHP) | symfony/symfony | >=7.0.0, <7.1.0>=7.2.0, <7.3.0>=7.3.0, <7.4.0>=7.4.0, <7.4.23>=8.0.0, <8.1.0+6 more | No fix yet |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | symfony | affected |
| 12 | symfony | affected |
| 13 | symfony | 6.4.50+dfsg-0+deb13u1 |
| 14 | symfony | 7.4.23+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| symfony | 6.4.50+dfsg-0+deb13u1 |
References
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.