Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.3CVE-2026-133779

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

Symfony symfony/ux-icons

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133779: medium-severity vulnerability (CVSS 5.3) in Symfony symfony/ux-icons.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 5.3.

Affected products and versions

Symfony symfony/ux-icons >= 2.36.1, < 2.36.3; Symfony symfony/ux-icons >= 3.2.0, < 3.8.1

ProductVersionsFixed in
Symfony symfony/ux-icons>= 2.36.1, < 2.36.3—
Symfony symfony/ux-icons>= 3.2.0, < 3.8.1—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-79

Relevant change history

  1. Published

    Preliminary advisory published.