CVE-2026-55877
MEDIUM 6.1CVSS 3.1symfony/ux-icons: XSS via unsanitized SVG content in local files and Iconify on-demand responses
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.
- Published
- 8 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-6v8j-33hc-mv84
- Sources
- NVDJSONOSV GHSA-6v8j-33hc-mv84JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | symfony | uxcpe:2.3:a:symfony:ux:*:*:*:*:*:*:*:* |
>= 2.17.0, < 2.36.1 | 2.36.1 |
| NVD | symfony | uxcpe:2.3:a:symfony:ux:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.2.0 | 3.2.0 |
| OSV | Packagist | symfony/ux-icons | >= 2.17.0, < 2.36.1 | 2.36.1 |
| OSV | Packagist | symfony/ux-icons | >= 3.0.0, < 3.2.0 | 3.2.0 |
References
- https://github.com/symfony/ux/commit/3a4964ec3700f0af4e13f7bfbf8bb3174c3e79d1 · Patch
- https://github.com/symfony/ux/releases/tag/v2.36.1 · Release Notes
- https://github.com/symfony/ux/releases/tag/v3.2.0 · Release Notes
- https://github.com/symfony/ux/security/advisories/GHSA-6v8j-33hc-mv84 · Vendor Advisory, WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/ux-icons/CVE-2026-55877.yaml · WEB
- https://github.com/symfony/ux · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 19 Jun 2026)