In-depth lesson · Mutation XSS and sanitiser bypass
Year by year: 2020
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.
2020
7 pointsNew this year2
After the fix wrapped the input in an extra CDATA block, repeating the attack with the closing sequence doubled escaped the added wrapper, showing a new bypass technique.
Seen in 1 report
Sending an HTML email whose style tag used CSS url() values with encoded characters bypassed the sanitiser and injected a form when the email was opened, a new vector in the disclosed reports.
Seen in 1 report
-
$5,000 Critical
-
Kept working5
Feeding crafted markup through an AngularJS application's sanitisation path showed that it mutated into executable markup.
Seen in 1 report
Creating a custom map whose name contained the CDATA closing sequence followed by markup and exporting it as KML let the name escape the CDATA block in the response.
Seen in 1 report
Assigning markup containing a template element to innerHTML produced mutation XSS or DOM XSS due to incorrect parsing.
Seen in 1 report
A DOMPurify bypass relying on HTML namespace confusion was successful.
Seen in 1 report
Pasting markup combining svg, style and title elements into a page that sanitises clipboard content bypassed the sanitiser.