{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133775","assignerOrgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","state":"PUBLISHED","assignerShortName":"Symfony","dateReserved":"2026-11-20T14:01:43.159Z","datePublished":"2026-11-24T08:24:08.942Z","dateUpdated":"2026-11-24T08:24:08.942Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","shortName":"Symfony","dateUpdated":"2026-11-24T08:24:08.942Z"},"title":"XSS in symfony/ux-icons via Scripts Nested in SVG Style Elements: Incomplete Fix for CVE-2026-55877","datePublic":"2026-11-24T07:51:16.000Z","descriptions":[{"lang":"en","value":"The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. It removes scripts and event handlers everywhere, except inside <style> elements.\n\nUnlike in HTML, the content of an SVG <style> element is parsed as markup. An icon can therefore still run JavaScript in the page with, for example:\n\n<style><script>alert(1)</script></style>\n<style><img src=\"invalid:\" onerror=\"alert(1)\"/></style>\n\nApplications are exposed when an attacker can influence the SVG of the icons they render. The sources are the same as for CVE-2026-55877, like local icon files and the responses of the Iconify API.\n\n<style> elements are now sanitized like any other element, so their descendants lose scripts and event handlers. A <style> element that tries to close itself early is still removed. Otherwise, its CSS is kept.","supportingMedia":[{"type":"text/markdown","base64":false,"value":"The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. It removes scripts and event handlers everywhere, except inside `<style>` elements.\n\nUnlike in HTML, the content of an SVG `<style>` element is parsed as markup. An icon can therefore still run JavaScript in the page with, for example:\n\n```xml\n<style><script>alert(1)</script></style>\n<style><img src=\"invalid:\" onerror=\"alert(1)\"/></style>\n```\n\nApplications are exposed when an attacker can influence the SVG of the icons they render. The sources are the same as for CVE-2026-55877, like local icon files and the responses of the Iconify API.\n\n`<style>` elements are now sanitized like any other element, so their descendants lose scripts and event handlers. A `<style>` element that tries to close itself early is still removed. Otherwise, its CSS is kept."}]}],"affected":[{"vendor":"Symfony","product":"symfony/ux-icons","collectionURL":"https://packagist.org","packageName":"symfony/ux-icons","repo":"https://github.com/symfony/ux","defaultStatus":"unaffected","versions":[{"version":"2.17.0","status":"affected","lessThan":"2.36.3","versionType":"semver"},{"version":"3.0.0","status":"affected","lessThan":"3.8.1","versionType":"semver"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation","type":"CWE"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://symfony.com/cve-2026-133775","name":"CVE-2026-133775","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/ux/security/advisories/GHSA-5g2h-25jh-cw8r","name":"GHSA-5g2h-25jh-cw8r","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/ux/commit/1733900e0ef887beb11ab3b858c4e2bfa23bf52e","tags":["patch"]},{"url":"https://github.com/symfony/ux/commit/8c31faa44fbdc1a698ca3283eb06a2d3555baab2","tags":["patch"]}],"credits":[{"lang":"en","value":"Andrew Pan","type":"finder"}],"source":{"advisory":"GHSA-5g2h-25jh-cw8r","discovery":"UNKNOWN"},"x_generator":{"engine":"symfony/ghsa-to-cve"}}}}