Packagist
CVE-2026-133777
XSS in symfony/ux-icons via SVG Content That Browsers Parse as HTML: 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)
- 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. Browsers parse an inline element with the rules of SVG, until they meet a start tag like
, or . They then parse the rest of the icon as HTML, and they also parse the content of and elements as HTML. The sanitizer only checked icons as SVG, so an icon could contain markup that becomes live once parsed as HTML. For example, after a
element, a comment can end a
In the same way, an icon could add a element to the page, which changes where its relative links and forms go. It could also add a element that redirects the page.
Comments were kept too, while browsers end a comment at . The rest of such a comment then became live markup, even without any HTML element before it.
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.
Affected software
| Software | Affected versions |
|---|---|
symfony/ux-iconsPackagist · osv:Packagist:symfony/ux-icons |
|
About symfony/ux-icons
- Monthly downloads (Packagist)
- 904,946Packagist, 24 Nov 2026
- Total downloads (Packagist)
- 10,492,204Packagist, 24 Nov 2026
Vulnerabilities in symfony/ux-icons
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-133779XSS in symfony/ux-icons via Attribute Names That the Sanitizer Reads Differently Than Browsers: Incomplete Fix for CVE-2026-55877Medium 5.3 24 Nov 2026
- CVE-2026-133776XSS in symfony/ux-icons via Text That Sanitized Icons Contain Unescaped: Incomplete Fix for CVE-2026-55877Medium 5.3 24 Nov 2026
- CVE-2026-133775XSS in symfony/ux-icons via Scripts Nested in SVG Style Elements: Incomplete Fix for CVE-2026-55877Medium 5.3 24 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-133777