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.
Severity (CVSS)
| Base score | 6.1 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| symfony | ux | >= 2.17.0, < 2.36.1; >= 3.0.0, < 3.2.0 |
References
- https://github.com/symfony/ux/security/advisories/GHSA-6v8j-33hc-mv84 (x_refsource_CONFIRM)
- https://github.com/symfony/ux/commit/3a4964ec3700f0af4e13f7bfbf8bb3174c3e79d1 (x_refsource_MISC)
- https://github.com/symfony/ux/releases/tag/v2.36.1 (x_refsource_MISC)
- https://github.com/symfony/ux/releases/tag/v3.2.0 (x_refsource_MISC)
Generated from the official CVE List on 09 Jul 2026 07:08 UTC.