{"id":"ghsa-ghsa-c76g-9c4c-gxrw","seq":12188223,"kind":"advisory","title":"Symfony: HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URLs Without a Well-Formed Authority: Incomplete Fix for CVE-2026-45066","url":"https://github.com/advisories/GHSA-c76g-9c4c-gxrw","permalink":"https://vulnpulse.app/items/ghsa-ghsa-c76g-9c4c-gxrw","summary":"影響: 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\nUrlSanitizer 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…","severity":"low","cvss":null,"techs":["php","symfony"],"cves":["CVE-2026-118517","CVE-2026-45066"],"tags":["GHSA-c76g-9c4c-gxrw","symfony/html-sanitizer","symfony/html-sanitizer","symfony/html-sanitizer","symfony/symfony","symfony/symfony","symfony/symfony"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-01T21:31:08.000Z","fetched_at":"2026-12-01T23:50:51.336Z"}