Symfony UX Icons, Cross-Site Scripting (XSS), CVE-2026-55877 (Critical) -DC-Jun2026-522

Listen to this Post

How CVE-2026-55877 Works

The vulnerability exists in the `symfony/ux-icons` package, specifically within the `ux_icon()` Twig function. This function is marked with is_safe=['html'], which instructs Twig to output its return value without any escaping. The `Icon::toHtml()` method then inlines the SVG source code directly into the page. Because browsers execute JavaScript found within `

Scroll to Top