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
symfony: ux
References4
- github.com/symfony/ux/security/advisories/GHSA-6v8j-33hc-mv84 Vendor Advisory
- github.com/symfony/ux/commit/3a4964ec3700f0af4e13f7bfbf8bb3174c… Patch
- github.com/symfony/ux/releases/tag/v2.36.1 Release Notes
- github.com/symfony/ux/releases/tag/v3.2.0 Release Notes
Metrics
- CVSS 3.1
-
6.1
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 28 · as of 15 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.