Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M

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

Medium 6.1

In plain English

A medium-severity cross-site scripting in ux from symfony. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.3%top 72.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistsymfony/ux-icons2.36.1GHSA-6v8j-33hc-mv84
Packagistsymfony/ux-icons3.2.0GHSA-6v8j-33hc-mv84

Affected products (as reported)

VendorProductVersions
symfony ux >= 2.17.0, < 2.36.1>= 3.0.0, < 3.2.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References