Technical impact
The Symfony HtmlSanitizer component improperly handles URL validation for the srcset and imagesrcset attributes. When user‑supplied HTML containing these attributes is processed, the sanitizer does not apply the configured media scheme or host allow‑list checks, retaining any specified URLs that would otherwise be rejected. Consequently, a browser rendering the sanitized content will request images from arbitrary hosts, enabling an attacker to collect viewer IP addresses or monitor traffic. The flaw can be triggered by a single crafted value in untrusted HTML and does not require authentication.
Affected Systems
Impact extends to installations of the Symfony framework released by sensiolabs. Vulnerable releases include Symfony 6.1.x prior to 6.4.50, Symfony 7.x prior to 7.4.23, and Symfony 8.x prior to 8.1.11. Any application that calls the HtmlSanitizer component to sanitize input from users—authenticated or unauthenticated—runs the risk of exposing its visitors to external media requests.
Risk and Exploitability
The CVSS score of 2.3 indicates low overall severity, and the EPSS score is not available while the vulnerability is not listed in the CISA KEV catalog. Nevertheless, exploitation is straightforward: it requires only submitting crafted HTML to the sanitizer. Because no authentication is needed, the risk is present even for public forms. Although the impact is limited to user‑initiated requests, the vulnerability can compromise user privacy through unsolicited external traffic.