Read the docs

Cross-site scripting in symfony/ux-icons via SVG style elements

Priority LOW 25CWE-79Published · 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

The symfony/ux-icons package is affected from 2.17.0 before 2.36.3 and from 3.0.0 before 3.8.1. An earlier fix removes scripts and event handlers only outside SVG style elements, whose content is parsed as markup, so injected scripts still run (CWE-79). An unauthenticated remote attacker who can influence the SVG of rendered icons, such as local icon files or Iconify API responses, needs a user to view 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. It removes scripts and event handlers everywhere, except inside <style> elements. Unlike in HTML, the content of an SVG <style> element is parsed as markup. An icon can therefore still run JavaScript in the page with, for example: <style><script>alert(1)</script></style> <style><img src="invalid:" onerror="alert(1)"/></style> 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. <style> elements are now sanitized like any other element, so their descendants lose scripts and event handlers. A <style> element that tries to close itself early is still removed. Otherwise, its CSS is kept.

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
No
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.17.0 to before 2.36.3; 3.0.0 to before 3.8.12.36.3, 3.8.1Patch availableCNA
  • symfony/ux-icons Vendorsymfony Affected 2.17.0 to before 2.36.3; 3.0.0 to before 3.8.1 Fixed in 2.36.3, 3.8.1 Patch available CNA

Remediation

Update symfony/ux-icons to 2.36.3 in the 2.x line or to 3.8.1 in the 3.x line.

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-97167 Cross-site scripting in symfony/ux-icons after incomplete fixPriority LOW 31

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-133775
  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