← 취약점·업데이트

낮음취약점 권고PHPSymfony

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.506.4.50
composer:symfony/html-sanitizer>= 7.0.0, < 7.4.237.4.23
composer:symfony/html-sanitizer>= 8.0.0, < 8.1.118.1.11
composer:symfony/symfony>= 6.1.0, < 6.4.506.4.50
composer:symfony/symfony>= 7.0.0, < 7.4.237.4.23
모두 보기 (6)
패키지영향받는 버전수정 버전
composer:symfony/symfony>= 8.0.0, < 8.1.118.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…

GitHub Advisory Database에서 읽기

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.