In-depth lesson · Mutation XSS and sanitiser bypass
Year by year: 2024
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.
2024
5 pointsNew this year1
Inserting a newline in the DOCTYPE so the check that marks files unsafe failed to match and the file was served with inline disposition and a .xhtml filename was a new bypass.
Seen in 1 report
Kept working4
Sending a message with many unclosed p tags followed by an extra tag with an event handler bypassed the sanitiser by increasing the number of unclosed tags to fit larger tags.
Seen in 1 report
Setting a full name containing an unclosed anchor carrying gadget classes and an API transfer URL as its href made a victim click anywhere on a merge request page and sent an API PUT request on their behalf.
Seen in 1 report
Creating a wiki page titled _sidebar with crafted content showed that the Banzai reference filter expanded references inside HTML attributes and ran script.
Seen in 1 report
Creating a .xhtml file containing a script and an iframe, inserting a newline in the DOCTYPE, then viewing the raw file on an iOS device served it as HTML.
Seen in 1 report