Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-55877 EUVD-2026-42444GHSA-6v8j-33hc-mv84

Symfony UX: XSS in symfony/ux-icons via unsanitized SVG content in local files and Iconify on-demand responses

Published Jul 8, 2026 · Updated Jul 9, 2026 · Assigned by GitHub_M

Description

Symfony UX is a JavaScript ecosystem for Symfony. From 2.17.0 before 2.36.1 and from 3.0.0 before 3.2.0, the ux_icon() Twig function is marked is_safe=['html'] and Icon::toHtml() inlines SVG source verbatim, allowing unsanitized local SVG files or Iconify on-demand JSON body responses containing nested script elements, on* event handlers, or dangerous URL schemes to execute cross-site scripting. This issue is fixed in versions 2.36.1 and 3.2.0.

Affected products

VendorProductAffectedFixed
symfony ux >= 2.17.0, < 2.36.1, >= 3.0.0, < 3.2.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist symfony/ux-icons >= 2.17.0, < 2.36.1 2.36.1 GHSA-6v8j-33hc-mv84
Packagist symfony/ux-icons >= 3.0.0, < 3.2.0 3.2.0 GHSA-6v8j-33hc-mv84

References