CVE-2026-133779
XSS in symfony/ux-icons via Attribute Names That the Sanitizer Reads Differently Than Browsers: Incomplete Fix for CVE-2026-55877
- CVSS
- 5.3
- EPSS
- 0.55% (p40)
- Published
- 2026-11-24
- Age
- 5d old
- Modified
- 2026-11-25
- Product
- Symfony symfony/ux-icons
- Aliases
- GHSA-x2m8-8v86-fjvx
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
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.
Fixed in
2.36.3 · 3.8.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | symfony/ux-icons | >=2.36.1, <2.36.3 | 2.36.3 |
| unknown | symfony/ux-icons | >=3.2.0, <3.8.1 | 3.8.1 |
Sources
- NVD · first seen 5d ago · NVD terms of use
- OSV · first seen 5d ago · CC-BY 4.0
- CVE List · first seen 5d ago · CVE Terms of Use
References
- https://symfony.com/cve-2026-133779 vendor-advisory
- https://github.com/symfony/ux/security/advisories/GHSA-x2m8-8v86-fjvx vendor-advisory
- https://github.com/symfony/ux/commit/6ee79fb176afce48c1c91b4b1b05ac88acfd3687 patch
- https://github.com/symfony/ux/commit/02fee6ebdb4b45f2b5b7fe8809364022c7bece1b patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133779.json advisory
- https://github.com/symfony/ux package
- https://nvd.nist.gov/vuln/detail/CVE-2026-133779 advisory
- https://packagist.org web