All vulnerabilities

Packagist

CVE-2026-133776

XSS in symfony/ux-icons via Text That Sanitized Icons Contain Unescaped: Incomplete Fix for CVE-2026-55877

Severity
Medium 5.3
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Fixed in
2.36.3, 3.8.1
Exploit chance
0.5% in the next 30 daysHigher than 46% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Cross-site scripting (CWE-79)Improper output encoding (CWE-116)
Attack
Over the network · No login needed · Needs someone to view a page or file
CVSS 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
Sources
CVE Program

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

The event handler of the element only makes the sanitizer change the icon. Depending on the version, this affects every element, or the elements of the XHTML namespace, like , or .

On 2.x, the elements of the XHTML namespace were also kept. An XHTML or 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.

From the CVE Program.

Affected software

SoftwareAffected versions
symfony/ux-iconsPackagist · osv:Packagist:symfony/ux-icons
  • From 2.36.1 before 2.36.3
  • From 3.2.0 before 3.8.1

About symfony/ux-icons

Monthly downloads (Packagist)
904,946Packagist, 24 Nov 2026
Total downloads (Packagist)
10,492,204Packagist, 24 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-133776