Cross-site scripting in Symfony UX Icons after incomplete SVG fix
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. Its sanitizer checks inline icon SVG only as SVG, but browsers parse some of that markup as HTML, which makes it live (CWE-79). An attacker who can influence the SVG of icons that an application renders can inject scripts into 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. Browsers parse an inline <svg> element with the rules of SVG, until they meet a start tag like <p>, <img> or <meta>. They then parse the rest of the icon as HTML, and they also parse the content of <title> and <desc> elements as HTML. The sanitizer only checked icons as SVG, so an icon could contain markup that becomes live once parsed as HTML. For example, after a <p> element, a comment can end a <style> element early and add an <img> element with an event handler: <p/><style><!--</style><img src=1 onerror=alert(1)>--></style> In the same way, an icon could add a <base> element to the page, which changes where its relative links and forms go. It could also add a <meta> element that redirects the page. Comments were kept too, while browsers end a comment at <!--> or <!--->. The rest of such a comment then became live markup, even without any HTML element before it. 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 removes comments and the elements that make browsers switch to HTML, and only keeps the text of <title> and <desc> elements. It also makes sure that markup in CDATA sections and attribute values can't end a <noscript> element around the icon.
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
Upgrade symfony/ux-icons to 2.36.3 or 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-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-133777
- 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