{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133779","assignerOrgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","state":"PUBLISHED","assignerShortName":"Symfony","dateReserved":"2026-11-20T14:01:43.159Z","datePublished":"2026-11-24T08:24:12.738Z","dateUpdated":"2026-11-24T08:24:12.738Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","shortName":"Symfony","dateUpdated":"2026-11-24T08:24:12.738Z"},"title":"XSS in symfony/ux-icons via Attribute Names That the Sanitizer Reads Differently Than Browsers: Incomplete Fix for CVE-2026-55877","datePublic":"2026-11-24T07:51:26.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. The checks matched attribute names as written in the icon, while browsers and the renderer read some names differently.\n\nOn 2.x, fromFile() keys the attributes of the root <svg> element by their local name. A handler like x:onload passed the check, and was then rendered as onload, which runs on load. HTML parsers also read attribute names case-insensitively, so a SMIL animation with ATTRIBUTENAME=\"href\" could set a javascript: URL on a link. And an href in the XLink namespace under another prefix, like q:href, wasn't checked. On 3.x, the sanitizer writes it out as xlink:href, and XML parsers resolve the prefix on both branches.\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\nThe sanitizer now checks attributes by local name. It also finds the attributeName of animations in any case, and ignores the prefix of its value.","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. The checks matched attribute names as written in the icon, while browsers and the renderer read some names differently.\n\nOn 2.x, `fromFile()` keys the attributes of the root `<svg>` element by their local name. A handler like `x:onload` passed the check, and was then rendered as `onload`, which runs on load. HTML parsers also read attribute names case-insensitively, so a SMIL animation with `ATTRIBUTENAME=\"href\"` could set a `javascript:` URL on a link. And an `href` in the XLink namespace under another prefix, like `q:href`, wasn't checked. On 3.x, the sanitizer writes it out as `xlink:href`, and XML parsers resolve the prefix on both branches.\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\nThe sanitizer now checks attributes by local name. It also finds the `attributeName` of animations in any case, and ignores the prefix of its value."}]}],"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.36.1","status":"affected","lessThan":"2.36.3","versionType":"semver"},{"version":"3.2.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-133779","name":"CVE-2026-133779","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/ux/security/advisories/GHSA-x2m8-8v86-fjvx","name":"GHSA-x2m8-8v86-fjvx","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/ux/commit/6ee79fb176afce48c1c91b4b1b05ac88acfd3687","tags":["patch"]},{"url":"https://github.com/symfony/ux/commit/02fee6ebdb4b45f2b5b7fe8809364022c7bece1b","tags":["patch"]}],"credits":[{"lang":"en","value":"Nicolas Grekas","type":"finder"}],"source":{"advisory":"GHSA-x2m8-8v86-fjvx","discovery":"UNKNOWN"},"x_generator":{"engine":"symfony/ghsa-to-cve"}}}}