Read the docs

Cross-site scripting in symfony/ux-icons after incomplete fix

Priority LOW 31CWE-116Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

symfony/ux-icons from 2.36.1 before 2.36.3 and from 3.2.0 before 3.8.1 is affected. The sanitizer added to fix CVE-2026-55877 rewrites icon SVG as HTML, which leaves the content of style elements unescaped, so escaped markup becomes live in the page (CWE-79). An attacker who can influence the SVG of rendered icons, such as through local icon files or Iconify API responses, can run script when a user views the page.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Description from the CNA

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">&lt;img src=x onerror=alert(1)&gt;</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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00554 39th percentileScored 2026-11-30
Fix Fixed symfony/ux-icons (Symfony): 2.36.3, 3.8.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
symfonysymfony/ux-icons2.36.1 to before 2.36.3; 3.2.0 to before 3.8.12.36.3, 3.8.1Patch availableCNA
  • symfony/ux-icons Vendorsymfony 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 Patch available CNA

Remediation

Upgrade symfony/ux-icons 2.x to 2.36.3 or 3.x to 3.8.1.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

  • Fix · CNA symfony/ux-icons (Symfony) Fixed in 2.36.3, 3.8.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    symfony/ux-icons 2.36.3, 3.8.1

    4 records Highest priority Priority LOW 4 LOW

    Other records, highest priority first

    • TI-2026-97170 Cross-site scripting in Symfony UX Icons SVG sanitizer bypassPriority LOW 31
    • TI-2026-97168 Cross-site scripting in Symfony UX Icons after incomplete SVG fixPriority LOW 31
    • TI-2026-97166 Cross-site scripting in symfony/ux-icons via SVG style elementsPriority LOW 25

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-133776
  2. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
  • TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
  • TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
  • TI-2022-08704 Symfony storing cookie headers in HttpCache CVSS 3.1HIGH 8.8
  • TI-2026-98149 Symfony Serializer CSV Header Nesting Without Limit Crashes PHP CVSS 4.0HIGH 8.7
  • TI-2026-98148 Nested short ternaries make the Symfony expression parser hang CVSS 4.0HIGH 8.7
See all 129 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences