A malicious SVG icon can run script in your visitors' browsers, despite the fix for CVE-2026-55877, by naming its attributes in ways the sanitizer didn't recognize.
How it works
The sanitizer checked attribute names exactly as written in the icon, but browsers and the icon renderer read some names differently. See the Symfony UX advisory.
On 2.x, an event handler with a namespace prefix on the root <svg> element passed the check, then was rendered as a plain event handler that runs. HTML also reads attribute names in any case, so an SVG animation could slip past a case-sensitive check and turn a link into one that runs script. And a link attribute in the XLink namespace wasn't checked when it used an unusual prefix.
The fix checks attributes by their name without the prefix, and finds an animation's target attribute in any case.