Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar: Incomplete Fix for CVE-2026-48761
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| 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 |
すべて表示 (6)
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| 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…
2026/12/02 06:30、GitHub Advisory Databaseが「Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar: Incomplete Fix for CVE-2026-48761」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: PHP、Symfony。CVE: CVE-2026-121373、CVE-2026-48761。