Symfony: HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset Leading to Media Scheme and Host Allow-List Bypass
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| 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 |
W3CReference::ATTRIBUTES marks srcset and imagesrcset as allowed attributes, but UrlAttributeSanitizer::getSupportedAttributes() does not list them, so no URL sanitizer is registered for either. The DOM visitor preserves an attribute value verbatim when no sanitizer handles it, so attacker-controlled responsive-image URL lists survive unchanged and the media scheme and host allow-lists are bypassed. The fixes for CVE-2026-45753 and CVE-2026-48761 extended the same attribute list but did not cov…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/12/02 06:33、GitHub Advisory Databaseが「Symfony: HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset Leading to Media Scheme and Host Allow-List Bypass」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「注意」(low) です。関連する技術: PHP、Symfony。CVE: CVE-2026-121949。