# Scalable Vector Grief

DevFeed: [Scalable Vector Grief](<https://devfeed.tech/articles/scalable-vector-grief-102713.md>)

Original publisher: [Read original article](<https://portswigger.net/research/scalable-vector-grief>)

Author: Gareth Heyes

Published: 2026-10-27T14:29:26Z

Content type: news

Language: en

Sources: [PortSwigger Research](<https://devfeed.tech/sources/portswigger-research.md>)

Topics: [SVG](<https://devfeed.tech/topics/svg.md>), [Firefox](<https://devfeed.tech/topics/firefox.md>), [web animation](<https://devfeed.tech/topics/web-animation.md>), [web graphics](<https://devfeed.tech/topics/web-graphics.md>)

Tags: [animate](<https://devfeed.tech/tags/animate.md>), [bypass](<https://devfeed.tech/tags/bypass.md>), [execution](<https://devfeed.tech/tags/execution.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [gif](<https://devfeed.tech/tags/gif.md>), [header](<https://devfeed.tech/tags/header.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [svg](<https://devfeed.tech/tags/svg.md>), [xml](<https://devfeed.tech/tags/xml.md>)

## AI overview

The article reports bypasses in six of eight tested SVG sanitizers, while DOMPurify and darylldoyle/svg-sanitizer resisted the described attacks. Examples include mattkrick/sanitize-svg's namespace and case-conversion gaps, Borewit/svg-sanitizer allowing animation tags that can alter links, and XSLT data-URL techniques affecting three other libraries. It also describes a Firefox attack using a Link response header to trigger script execution from a harmless XML body, and a Safari behavior that imports a GIF as SVG through <use>. The XSLT processing-instruction technique is described as deprecated and scheduled for removal in November 2026.

## Source excerpt

I tested eight popular SVG sanitizers and bypassed six of them. In this post, I'll show you how a response header can run JavaScript in Firefox even when the response body is completely harmless XML.