{"id":"CVE-2026-55877","summary":"Symfony UX: XSS in symfony/ux-icons via unsanitized SVG content in local files and Iconify on-demand responses","details":"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.","aliases":["GHSA-6v8j-33hc-mv84"],"modified":"2026-07-15T01:48:56.965974329Z","published":"2026-07-08T21:32:37.407Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55877.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/symfony/ux/releases/tag/v2.36.1"},{"type":"WEB","url":"https://github.com/symfony/ux/releases/tag/v3.2.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55877.json"},{"type":"ADVISORY","url":"https://github.com/symfony/ux/security/advisories/GHSA-6v8j-33hc-mv84"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55877"},{"type":"FIX","url":"https://github.com/symfony/ux/commit/3a4964ec3700f0af4e13f7bfbf8bb3174c3e79d1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/symfony/ux","events":[{"introduced":"80b36bcbeb2902a55495db2afd544f738c73148f"},{"fixed":"dfd2ce941ec3e92af36427685cfb4e900ea9244c"},{"introduced":"3cef8e0d9557bbde60c3f1bfd2cbb1004af7fc9a"},{"fixed":"721417c64bbc85022c56d1e3fb7f66874a38cef2"},{"fixed":"3a4964ec3700f0af4e13f7bfbf8bb3174c3e79d1"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"2.17.0"},{"fixed":"2.36.1"},{"introduced":"3.0.0"},{"fixed":"3.2.0"}]}}],"versions":["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-55877.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}