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.