In-depth lesson · Mutation XSS and sanitiser bypass
Year by year: 2026
What the disclosed Mutation XSS and sanitiser bypass reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2026
11 pointsNew this year4
Creating a MathML annotation-xml element with encoding set to text/html, appending it to the document, assigning innerHTML containing a style block with an img carrying an onerror handler fired the handler, a new technique.
Seen in 1 report
Setting a p element's innerHTML to markup with an is attribute holding a quote and an event handler, removing the is attribute, reading innerHTML again and re-parsing the output let the handler survive, a new bypass.
Seen in 1 report
Crafting nested elements that reset the namespace to null plus an iframe with a srcdoc script, passing it through an XML-aware sanitizer, showed the iframe was treated as inert and then became live, a new technique.
Seen in 1 report
Providing a crafted XML fragment with a template element that resets the namespace and a script tag, passing it through a DOM-based sanitizer, instantiated the script in the null namespace, a new bypass.
Seen in 1 report
Kept working5
A large group of Chromium reports shared the same shape: a CSSOM serialiser emitted a decoded identifier without re-escaping, breaking the round-trip invariant for sanitizers that read and re-inject CSS.
Seen in 6 reports
Posting a comment containing a blockquote whose cite attribute hid a special newline character made wpautop() turn it into markup that broke out of the attribute.
Copying crafted attachment markup and pasting it into the Trix editor bypassed the sanitiser and ran script.
Seen in 1 report
Enabling the markdown_placeholders feature flag, adding a JSON file with HTML containing a script tag, creating a tag whose name contained an HTML payload referencing the JSON file made the Markdown render run script.
Seen in 1 report
Sending an HTML email with a style attribute containing CSS character escapes and opening it in Roundcube in HTML mode made a background image request to an attacker-controlled URL.
Seen in 1 report
Turned up less2
The pattern of relying on a parsing behaviour change in a specific browser version to get script past a sanitiser, seen in 2017, was rarer in 2026 as reports focused on CSSOM serialisation and namespace confusion.
Seen in 1 report
The technique of using an XML entity in an SVG navigation icon upload to bypass a whitelist, seen in 2017, did not appear in the 2026 reports.