CVE-2026-133776 in ux-iconsinfo

Summary

by MITRE • 11/24/2026

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.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/24/2026

The vulnerability identified in CVE-2026-55877 represents a sophisticated cross-site scripting flaw rooted in the interaction between server-side sanitization logic and browser-specific parsing behaviors for Scalable Vector Graphics content. The core technical failure occurs when an application attempts to sanitize SVG icons before rendering them inline within HTML documents. While the sanitizer correctly processes the input, it inadvertently introduces a critical inconsistency by writing certain elements back into the document structure without proper escaping. Specifically, when the sanitizer modifies an icon and outputs it as HTML, it fails to escape the content of specific tags such as style sheets or other XHTML namespace elements like xmp or noembed. This oversight is particularly dangerous because browsers exhibit divergent parsing rules for SVG contexts; while standard HTML parsers treat these elements as text nodes requiring escaping, XML-based SVG parsers interpret their contents as active markup. Consequently, any escaped malicious payload embedded within these tags becomes live executable code once the browser processes the SVG structure, effectively bypassing the intended security controls of the sanitizer.

The operational impact of this flaw is significant for applications that dynamically render icons based on user-influenced data sources. Attackers can exploit this by injecting crafted SVG content through vectors such as local icon files or responses from external APIs like Iconify. The exploitation mechanism relies on a specific trigger condition where an event handler, typically attached to a path element within the SVG structure, initiates the sanitization process. When triggered, the sanitizer alters the icon and writes it out using HTML serialization rules that do not adequately escape internal content of style elements or XHTML namespace tags. This results in the execution of arbitrary JavaScript code within the context of the vulnerable application's domain. The severity is compounded by the fact that this behavior affects a wide range of potential injection points, making it difficult for developers to predict which specific icon configurations might lead to successful exploitation without rigorous testing and validation of all SVG rendering paths.

From an industry standards perspective, this vulnerability aligns with CWE-79, commonly known as Improper Neutralization of Input During Web Page Generation or Cross-site Scripting (XSS). The root cause is a failure in input validation and output encoding, specifically regarding the context-awareness required when embedding content within SVG elements. Furthermore, the exploitation technique maps to MITRE ATT&CK tactic T1059, Command and Scripting Interpreter, with specific reference to sub-technique 007 for JavaScript-based attacks. The attacker leverages the browser's native scripting engine through a DOM-based vector that exploits the ambiguity between HTML and XML parsing modes in SVG contexts. This highlights a common pitfall in web security where developers assume that sanitizing input is sufficient without considering how different parsers interpret sanitized output, particularly when dealing with complex markup languages like SVG embedded within HTML documents.

Mitigation strategies must address both the immediate technical flaw and broader architectural practices regarding dynamic content rendering. The primary fix involves ensuring that any content written into style elements or XHTML namespace tags within an SVG context is properly escaped to prevent it from being interpreted as active markup. Developers should avoid using HTML serialization for SVG content when there is a risk of injecting scriptable payloads; instead, XML-based serialization with strict entity encoding should be employed consistently across all versions of the affected software. Additionally, applications should implement Content Security Policy headers that restrict inline script execution and limit the sources from which icons can be loaded to trusted domains only. For environments where dynamic icon rendering is unavoidable, it is critical to validate not just the structure but also the content of SVG elements against a strict allowlist of permitted tags and attributes, ensuring that no executable code can be embedded within style sheets or other potentially dangerous containers. Regular security audits focusing on DOM-based XSS vectors in complex UI components are essential to maintain resilience against such nuanced attack patterns.

Responsible

Symfony

Reservation

11/20/2026

Disclosure

11/24/2026

Moderation

accepted

CPE

ready

EPSS

0.00554

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!