CVE-2026-55877
CVE-2026-55877 · Symfony UX: XSS in symfony/ux-icons via unsanitized SVG content in local files and Iconify on-demand responses
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.1 · Medium · EPSS 0.3% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
ux
- Versions
- >= 2.17.0, < 2.36.1: Affected
- >= 3.0.0, < 3.2.0: Affected
No fix published
symfony/ux-icons Packagist
- Versions
- v2.17.0
- v2.18.0
- v2.18.1
- v2.19.0
- v2.20.0
- v2.21.0
- v2.22.0
- v2.22.1
- v2.23.0
- v2.24.0
- v2.25.0
- v2.26.0
- v2.27.0
- v2.28.0
- v2.28.2
- v2.29.0
- v2.29.2
- v2.30.0
- v2.31.0
- v2.32.0
- v2.33.0
- v2.34.0
- v2.35.0
- v2.36.0
- Affected ranges
- ECOSYSTEM: ≥ 2.17.0, < 2.36.1
Update to 2.36.1
symfony/ux-icons Packagist
- Versions
- v3.0.0
- v3.1.0
- Affected ranges
- ECOSYSTEM: ≥ 3.0.0, < 3.2.0
Update to 3.2.0