CVE-2026-133776XSS in symfony/ux-icons via Text That Sanitized Icons Contain Unescaped: Incomplete Fix…
The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. When the sanitizer changes an icon, it writes the icon out again as HTML. HTML writes the content of some elements, like <style>, without escaping it. But inside an <svg>, browsers parse the content of a <style> element as markup. Escaped markup in such an element then becomes live in the page: <path onclick="x"/><style xmlns="http://www.w3.org/1999/xhtml"><img src=x onerror=alert(1)></style> The event handler of the <path> element only makes the sanitizer change the icon. Depending on the version, this affects every <style> element, or the elements of the XHTML namespace, like <style>, <xmp> or <noembed>. On 2.x, the elements of the XHTML namespace were also kept. An XHTML <form> or <base> element then becomes live where icons are parsed as XML, like in the Google Maps bridge of ux-map. Applications are exposed when an attacker can influence the SVG of the icons they render. The sources are the same as for CVE-2026-55877, like local icon files and the responses of the Iconify API. On 2.x, the sanitizer now writes icons out as XML, which escapes their text, and only keeps the elements of the SVG namespace. On 3.x, it now only keeps the elements of the SVG namespace.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by Symfony, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- symfony/ux-icons: affected: 2.36.1 to before 2.36.3, 3.2.0 to before 3.8.1; fixed in
2.36.3,3.8.1
Vendor advisories:
- https://symfony.com/cve-2026-133776 (vendor-advisory)
- https://github.com/symfony/ux/security/advisories/GHSA-jggp-vq9v-563x (vendor-advisory)
- https://github.com/symfony/ux/commit/238a2f8317a01a9c4fbd85e04e25241cd1e26bc2 (patch)
- https://github.com/symfony/ux/commit/827f5b0a3723f78177931b3d5044f65a4f615e9b (patch)
References
- https://symfony.com/cve-2026-133776
- https://github.com/symfony/ux/security/advisories/GHSA-jggp-vq9v-563x
- https://github.com/symfony/ux/commit/238a2f8317a01a9c4fbd85e04e25241cd1e26bc2
- https://github.com/symfony/ux/commit/827f5b0a3723f78177931b3d5044f65a4f615e9b
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.