Symfony: HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URLs Without a Well-Formed Authority: Incomplete Fix for CVE-2026-45066
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| 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 |
UrlSanitizer parses URLs with league/uri, which follows RFC 3986. For a special scheme written with no authority slashes, such as http:evil.example, RFC 3986 yields scheme http, host null and path evil.example. The sanitizer then skips the host allow-list check because the host is null, and with allowRelativeLinks(true) it also waives the rejection of hostless URLs, so the URL is kept. Browsers parse the same string per the WHATWG URL standard. There, // is optional when the scheme differs from…
2026/12/02 06:31、GitHub Advisory Databaseが「Symfony: HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URLs Without a Well-Formed Authority: Incomplete Fix for CVE-2026-45066」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「注意」(low) です。関連する技術: PHP、Symfony。CVE: CVE-2026-118517、CVE-2026-45066。