{"id":"ghsa-ghsa-q8jq-xrf4-v5j8","seq":12188222,"kind":"advisory","title":"Symfony: HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset Leading to Media Scheme and Host Allow-List Bypass","url":"https://github.com/advisories/GHSA-q8jq-xrf4-v5j8","permalink":"https://vulnpulse.app/items/ghsa-ghsa-q8jq-xrf4-v5j8","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\nW3CReference::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…","severity":"low","cvss":null,"techs":["php","symfony"],"cves":["CVE-2026-121949"],"tags":["GHSA-q8jq-xrf4-v5j8","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:33:51.000Z","fetched_at":"2026-12-01T23:50:51.336Z"}