PT-2025-22110 · Symfony · Symfony/Ux-Live-Component+1
Draichev
+1
·
Published
2025-05-19
·
Updated
2025-05-19
·
CVE-2025-47946
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/ux-twig-component versions prior to 2.25.1
symfony/ux-live-component versions prior to 2.25.1
Description:
The issue concerns the rendering of
{{ attributes }} or the use of methods that return a ComponentAttributes instance, which can lead to HTML attribute injection and XSS vulnerabilities if the attribute values are unsafe, such as containing user input.Recommendations:
For symfony/ux-twig-component versions prior to 2.25.1, update to version 2.25.1.
For symfony/ux-live-component versions prior to 2.25.1, update to version 2.25.1.
As a temporary workaround, avoid rendering
{{ attributes }} or derived objects directly if it may contain untrusted values. Instead, use {{ attributes.render('name') }} for safe output of individual attributes.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Symfony/Ux-Live-Component
Symfony/Ux-Twig-Component