{"id":"CVE-2026-55877","published":"2026-07-08T21:32:37Z","modified":"2026-07-09T14:40:25Z","title":"Symfony UX: XSS in symfony/ux-icons via unsanitized SVG content in local files and Iconify on-demand responses","vendor":"symfony","product":"ux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00338,"percentile":0.2791,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/symfony/ux/security/advisories/GHSA-6v8j-33hc-mv84","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/ux/commit/3a4964ec3700f0af4e13f7bfbf8bb3174c3e79d1","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/ux/releases/tag/v2.36.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/ux/releases/tag/v3.2.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":5.58},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"ux","versions":[">= 2.17.0, < 2.36.1",">= 3.0.0, < 3.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-09T14:21:00.657899Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/ux-icons","vulnerableRanges":[">=2.17.0, <2.36.1",">=3.0.0, <3.2.0"],"patched":["2.36.1","3.2.0"],"from":["GHSA-6v8j-33hc-mv84"],"provenance":"source"}],"summary":{"text":"Symfony UX's symfony/ux-icons component (the ux_icon() Twig function and Icon::toHtml()) fails to sanitize SVG content, inlining it verbatim from local SVG files and from Iconify on-demand JSON responses in versions from 2.17.0 before 2.36.1 and from 3.0.0 before 3.2.0. An attacker who can supply such an SVG, through a local file or a crafted Iconify response, can embed nested script elements, on* event handlers, or dangerous URL schemes that execute as cross-site scripting, and exploitation requires a user to interact with the affected page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:31Z"},"euvd":{"id":"EUVD-2026-42444","exploited":false,"provenance":"source"}}