## Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar: Incomplete Fix for CVE-2026-48761

- 種別: advisory
- 重大度: medium
- 関連技術: php, symfony
- CVE: CVE-2026-121373, CVE-2026-48761
- 公開日時: 2026-12-01T21:30:04.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-wm2w-4mgj-vw33)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-wm2w-4mgj-vw33

影響: 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, 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…