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">&lt;img src=x onerror=alert(1)&gt;</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.
Published: 2026-11-24
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 24 Nov 2026 08:45:00 +0000

Type Values Removed Values 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">&lt;img src=x onerror=alert(1)&gt;</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.
Title XSS in symfony/ux-icons via Text That Sanitized Icons Contain Unescaped: Incomplete Fix for CVE-2026-55877
Weaknesses CWE-116
CWE-79
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Symfony

Published:

Updated: 2026-11-24T08:24:09.849Z

Reserved: 2026-11-20T14:01:43.159Z

Link: CVE-2026-133776

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-24T09:17:07.237

Modified: 2026-11-24T09:17:07.237

Link: CVE-2026-133776

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-24T09:30:01Z

Weaknesses