Symfony's HtmlSanitizer component did not sanitize the 'srcset' and 'imagesrcset' attributes, allowing attacker-controlled responsive-image URL lists to bypass media scheme and host allow-lists. This issue arises because these attributes were allowed but lacked a registered URL sanitizer, causing their values to be preserved verbatim. The vulnerability affects configurations that rely on allowMediaHosts or allowMediaSchemes to restrict media URLs. The issue is fixed in versions 6.4.50, 7.4.23, and 8.1.11 by properly parsing and sanitizing each URL candidate in these attributes. The severity is rated medium with a CVSS score of 5.4.