Cross-site scripting in Symfony UX Icons SVG sanitizer bypass
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 renders SVG icons inline after a sanitizer check. The check compares attribute names as written, while browsers and the renderer read some names differently, so a handler such as x:onload or a mixed-case attributeName passes the check (CWE-79). An attacker who can influence the SVG of rendered icons, such as local icon files or Iconify API responses, can run script in the application's pages.
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. The checks matched attribute names as written in the icon, while browsers and the renderer read some names differently. On 2.x, fromFile() keys the attributes of the root <svg> element by their local name. A handler like x:onload passed the check, and was then rendered as onload, which runs on load. HTML parsers also read attribute names case-insensitively, so a SMIL animation with ATTRIBUTENAME="href" could set a javascript: URL on a link. And an href in the XLink namespace under another prefix, like q:href, wasn't checked. On 3.x, the sanitizer writes it out as xlink:href, and XML parsers resolve the prefix on both branches. 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. The sanitizer now checks attributes by local name. It also finds the attributeName of animations in any case, and ignores the prefix of its value.
Why it matters now
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
Remediation
Update symfony/ux-icons to 2.36.3 on the 2.x branch or to 3.8.1 on the 3.x branch.
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-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
- TI-2026-97166 Cross-site scripting in symfony/ux-icons via SVG style elementsPriority LOW 25
Timeline
- 2026-11-24 Threatist record created from CVE-2026-133779
- 2026-11-25 CISA SSVC decision points changed
References
More symfony vulnerabilities
- 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
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences