{"id":"CVE-2026-133775","summary":"XSS in symfony/ux-icons via Scripts Nested in SVG Style Elements: Incomplete Fix for CVE-2026-55877","details":"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 \u003cstyle\u003e elements.\n\nUnlike in HTML, the content of an SVG \u003cstyle\u003e element is parsed as markup. An icon can therefore still run JavaScript in the page with, for example:\n\n\u003cstyle\u003e\u003cscript\u003ealert(1)\u003c/script\u003e\u003c/style\u003e\n\u003cstyle\u003e\u003cimg src=\"invalid:\" onerror=\"alert(1)\"/\u003e\u003c/style\u003e\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\u003cstyle\u003e elements are now sanitized like any other element, so their descendants lose scripts and event handlers. A \u003cstyle\u003e element that tries to close itself early is still removed. Otherwise, its CSS is kept.","aliases":["GHSA-5g2h-25jh-cw8r"],"modified":"2026-11-24T11:00:10.786964995Z","published":"2026-11-24T08:24:08.942Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133775.json","cna_assigner":"Symfony","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133775.json"},{"type":"PACKAGE","url":"https://github.com/symfony/ux"},{"type":"FIX","url":"https://github.com/symfony/ux/commit/1733900e0ef887beb11ab3b858c4e2bfa23bf52e"},{"type":"FIX","url":"https://github.com/symfony/ux/commit/8c31faa44fbdc1a698ca3283eb06a2d3555baab2"},{"type":"ADVISORY","url":"https://github.com/symfony/ux/security/advisories/GHSA-5g2h-25jh-cw8r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133775"},{"type":"WEB","url":"https://packagist.org"},{"type":"ADVISORY","url":"https://symfony.com/cve-2026-133775"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/symfony/ux","events":[{"introduced":"80b36bcbeb2902a55495db2afd544f738c73148f"},{"fixed":"0a697aabc90ba289ed844e2d168174d2720831ae"},{"introduced":"3cef8e0d9557bbde60c3f1bfd2cbb1004af7fc9a"},{"fixed":"1ba00961f2981d6be511ef0f15737b5855dea571"},{"fixed":"1733900e0ef887beb11ab3b858c4e2bfa23bf52e"},{"fixed":"8c31faa44fbdc1a698ca3283eb06a2d3555baab2"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.17.0"},{"fixed":"2.36.3"}]},{"strategy":"StandardRange","range":[{"introduced":"3.0.0"},{"fixed":"3.8.1"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"1733900e0ef887beb11ab3b858c4e2bfa23bf52e"}]},{"range":[{"fixed":"8c31faa44fbdc1a698ca3283eb06a2d3555baab2"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v3.8.0","v3.7.2","v3.7.1","v3.7.0","v3.6.0","v3.5.1","v3.5.0","v2.36.2","v3.4.0","v3.3.0","v3.2.0","v2.36.1","v3.1.0","v2.36.0","v2.35.0","v3.0.0","v2.34.0","v2.33.0","v2.32.0","v2.31.0","v2.30.0","v2.29.2","v2.29.1","v2.29.0","v2.28.2","v2.28.1","v2.28.0","v2.27.0","v2.26.0","v2.26.1","v2.25.2","v2.25.1","v2.25.0","v2.24.0","v2.23.0","v2.22.1","v2.22.0","v2.21.0","v2.20.0","v2.19.3","v2.19.2","v2.19.0","v2.19.1","v2.18.1","v2.18.0","v2.17.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-133775.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}