CVE-2026-133775 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. It removes scripts and event handlers everywhere, except inside <style> elements.

Unlike in HTML, the content of an SVG <style> element is parsed as markup. An icon can therefore still run JavaScript in the page with, for example:

<style><script>alert(1)</script></style> <style><img src="invalid:" onerror="alert(1)"/></style>

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.

<style> elements are now sanitized like any other element, so their descendants lose scripts and event handlers. A <style> element that tries to close itself early is still removed. Otherwise, its CSS is kept.

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 as CVE-2026-55877 represents a critical failure in the sanitization logic applied to Scalable Vector Graphics (SVG) content within web applications. While the initial patch attempted to mitigate cross-site scripting risks by stripping scripts and event handlers from SVG elements, it introduced a significant oversight regarding the parsing behavior of specific SVG tags. Unlike standard HTML where script execution is strictly controlled, the content inside an SVG element is parsed as markup rather than plain text. This distinction allows malicious actors to embed executable JavaScript within SVG structures that were not adequately sanitized by the patch, specifically targeting scenarios where icon data is rendered inline from untrusted sources such as local files or external APIs like Iconify.

The core technical flaw lies in the incomplete sanitization of script elements nested within specific SVG contexts. The fix removed scripts and event handlers globally but failed to account for the unique parsing rules governing SVG content models. An attacker can exploit this by injecting a crafted SVG snippet that includes a script tag or an element capable of triggering JavaScript execution, such as onerror events attached to image tags within the SVG structure. Because the parser treats the inner content as markup, it may not apply the same strict filtering rules used for standard HTML elements, allowing payloads like alert(1) to execute in the context of the victim's page. This bypasses the intended security controls and results in a persistent cross-site scripting vulnerability that can be triggered simply by rendering an icon from a compromised source.

From an operational perspective, this vulnerability poses severe risks including session hijacking, credential theft, defacement, or malware distribution through drive-by downloads. Since icons are often rendered dynamically based on user input or external data sources, the attack surface is broad. Any application that allows users to influence the SVG content of displayed icons, whether through file uploads, API integrations, or URL parameters, is potentially vulnerable. The impact extends beyond simple script execution; attackers can leverage this access to perform actions on behalf of the victim, steal sensitive cookies and tokens, or manipulate the DOM to phish for credentials. This aligns with CWE-79, which classifies improper neutralization of input during web page generation as a classic cross-site scripting weakness, and maps directly to MITRE ATT&CK technique T1059.007, indicating JavaScript-based command execution within browser environments.

To mitigate this vulnerability, developers must implement robust sanitization strategies that go beyond simple tag removal. It is essential to use established libraries such as DOMPurify or OWASP Java HTML Sanitizer that are specifically designed to handle the complexities of SVG parsing and can correctly neutralize all executable content regardless of nesting depth. Additionally, applications should enforce strict Content Security Policy headers to restrict script execution sources and prevent inline scripts from running by default. Input validation should be applied at multiple layers, ensuring that only expected icon identifiers or safe static assets are processed. Regular security audits focusing on SVG rendering logic and continuous monitoring for anomalous DOM manipulations will further reduce the risk of exploitation in production environments.

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 need the next level of professionalism?

Upgrade your account now!