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

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-06-19T21:42:15.000Z
- Modified: 2026-10-25T17:10:00.197Z
- Also known as: GHSA-6v8j-33hc-mv84
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- symfony ux: >= 2.17.0, < 2.36.1; >= 3.0.0, < 3.2.0; from 2.17.0 before 2.36.1; from 3.0.0 before 3.2.0
- symfony/ux-icons (Packagist): from 2.17.0 before 2.36.1; from 3.0.0 before 3.2.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/symfony/ux/security/advisories/GHSA-6v8j-33hc-mv84> (vendor-advisory, web)
- <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/FriendsOfPHP/security-advisories/blob/master/symfony/ux-icons/CVE-2026-55877.yaml> (web)
- <https://github.com/symfony/ux> (package)

## Sources

- CVE List: [CVE-2026-55877](https://www.cve.org/CVERecord?id=CVE-2026-55877), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-6v8j-33hc-mv84](https://github.com/advisories/GHSA-6v8j-33hc-mv84), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-55877](https://nvd.nist.gov/vuln/detail/CVE-2026-55877), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-55877 · Whole record: https://cve.day/CVE-2026-55877.json · Rebuilt by cve.day 2026-11-25T22:59:27.455Z
