Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 5.3CVE-2026-133779

XSS in symfony/ux-icons via Attribute Names That the Sanitizer Reads Differently Than Browsers: Incomplete Fix for CVE-2026-55877

Published 24/11/2026 · Updated 25/11/2026 · symfony/ux-icons

Description

The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. The checks matched attribute names as written in the icon, while browsers and the renderer read some names differently. On 2.x, fromFile() keys the attributes of the root <svg> element by their local name. A handler like x:onload passed the check, and was then rendered as onload, which runs on load. HTML parsers also read attribute names case-insensitively, so a SMIL animation with ATTRIBUTENAME="href" could set a javascript: URL on a link. And an href in the XLink namespace under another prefix, like q:href, wasn't checked. On 3.x, the sanitizer writes it out as xlink:href, and XML parsers resolve the prefix on both branches. 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. The sanitizer now checks attributes by local name. It also finds the attributeName of animations in any case, and ignores the prefix of its value.

Affected products and versions

Symfony symfony/ux-icons2.36.1 – < 2.36.3 · 3.2.0 – < 3.8.1Fixed in: 2.36.3 · 3.8.1

CVSS vector, explained

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

Attack vector
Network (from the internet)
Attack complexity
Low
Attack requirements
None
Privileges required
None (no login)
User interaction
Passive
Confidentiality
None
Integrity
None
Availability
None

Weakness type (CWE)

  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.