XSS in symfony/ux-icons via Text That Sanitized Icons Contain Unescaped: Incomplete Fix for CVE-2026-55877
CVE-2026-133776Published 24 Nov 2026, 08:24 UTC
Real-world risk
1.8/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from Symfony)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| symfony/ux-iconsNiche | >= 2.36.1, < 2.36.3; >= 3.2.0, < 3.8.1 | 2.36.3, 3.8.1 |
What to do
Update to a fixed version: 2.36.3, 3.8.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.6% chance of exploitation in 30 days (percentile 48), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.7 × threat 0.851.785
- Rounded to one decimal between 0.1 and 101.8
Exploitation and evidence timeline
- 24 Nov 2026 Published
- 3 Dec 2026 Risk 1.8 (cvss fallback)
Weakness
CWE-79, CWE-116
References
- https://symfony.com/cve-2026-133776vendor-advisory
- https://github.com/symfony/ux/security/advisories/GHSA-jggp-vq9v-563xvendor-advisory
- https://github.com/symfony/ux/commit/238a2f8317a01a9c4fbd85e04e25241cd1e26bc2patch
- https://github.com/symfony/ux/commit/827f5b0a3723f78177931b3d5044f65a4f615e9bpatch
- CVE-2026-133776 on CVE.org