Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar: Incomplete Fix for CVE-2026-48761
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:symfony/html-sanitizer | >= 6.1.0, < 6.4.50 | 6.4.50 |
| composer:symfony/html-sanitizer | >= 7.0.0, < 7.4.23 | 7.4.23 |
| composer:symfony/html-sanitizer | >= 8.0.0, < 8.1.11 | 8.1.11 |
| composer:symfony/symfony | >= 6.1.0, < 6.4.50 | 6.4.50 |
| composer:symfony/symfony | >= 7.0.0, < 7.4.23 | 7.4.23 |
Show all (6)
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:symfony/symfony | >= 8.0.0, < 8.1.11 | 8.1.11 |
The MetaRefreshAttributeSanitizer introduced for CVE-2026-48761 sanitizes the refresh URL only when the content attribute matches: php /^(\s\d+\s[;,]\surl\s=\s)(["\']?)(.+?)\2(\s)$/i The browser grammar, the WHATWG shared declarative refresh steps, is broader: 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 regex misses are returned unchanged, so the attacker URL skips UrlSanitizer entirely and…
Read on GitHub Advisory Database
On 12/02/2026, 06:30 AM, GitHub Advisory Database published "Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar: Incomplete Fix for CVE-2026-48761" (type: Advisory). Severity is "Medium" (medium). Related technologies: PHP, Symfony. CVE: CVE-2026-121373, CVE-2026-48761.