CVE-2026-133776
XSS in symfony/ux-icons via Text That Sanitized Icons Contain Unescaped: Incomplete Fix for CVE-2026-55877
Description
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.
INFO
Published Date :
Nov. 24, 2026, 9:17 a.m.
Last Modified :
Nov. 24, 2026, 9:17 a.m.
Remotely Exploit :
No
Source :
b5aa5c7f-767d-4597-9c64-3ac08b8711c6
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | MEDIUM | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 | ||||
| CVSS 4.0 | MEDIUM | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 |
Solution
- Update to version 3.x or later.
- Ensure SVG icons are sanitized before rendering.
- Escape all content within style elements.
- Review and sanitize icon sources.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-133776.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-133776 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-133776
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-133776 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-133776 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by b5aa5c7f-767d-4597-9c64-3ac08b8711c6
Nov. 24, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-79 Added CWE CWE-116 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/133xxx/CVE-2026-133776.json">CVE-2026-133776</a> Added Reference https://github.com/symfony/ux/commit/238a2f8317a01a9c4fbd85e04e25241cd1e26bc2 Added Reference https://github.com/symfony/ux/commit/827f5b0a3723f78177931b3d5044f65a4f615e9b Added Reference https://github.com/symfony/ux/security/advisories/GHSA-jggp-vq9v-563x Added Reference https://symfony.com/cve-2026-133776