Skip to content

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.

Back to the lesson 1 to 5 of 5 (of 52 in all)

Clear the search

2024

5 points

New this year1

  1. 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

  1. 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
  2. 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
  3. 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
  4. 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