PT-2026-47216 · Symfony · Symfony
CVE-2026-48761
·
Published
2026-05-27
·
Updated
2026-07-14
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Symfony versions prior to 6.4
Symfony versions prior to 7.4
Symfony versions prior to 8.0
Symfony versions prior to 8.1
Description
An issue exists in the
SymfonyComponentHtmlSanitizerVisitorAttributeSanitizerUrlAttributeSanitizer::getSupportedAttributes() function, which fails to include several URL-bearing attributes in its sanitization list. When integrators explicitly allow elements such as <object>, <applet>, <iframe>, or <img> along with attributes like data, codebase, archive, or longdesc, the UrlSanitizer::sanitize() process is bypassed. This allows payloads such as javascript:alert(1) to remain unchanged in the output, leading to stored Cross-Site Scripting (XSS). Additionally, the content attribute of the <meta> element does not undergo URL sanitization when used for refresh-driven navigation (e.g., <meta http-equiv="refresh" content="0; url=…">), enabling navigation to javascript: URLs.Recommendations
Update to version 6.4 or later.
Update to version 7.4 or later.
Update to version 8.0 or later.
Update to version 8.1 or later.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Symfony