Scalable Vector Grief

Executive Summary

PortSwigger researchers tested eight SVG sanitizers, successfully bypassing six. They demonstrated that a malicious response header can execute JavaScript in Firefox even when the response body is benign XML, highlighting a new vector for XSS attacks via SVG content.

Original Description

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.