Skip to content

In-depth lesson · Mutation XSS and sanitiser bypass

Year by year: 2021

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 6 of 6 (of 52 in all)

Clear the search

2021

6 points

New this year1

  1. Using a path traversal after an allowed prefix to get past a startsWith allow-list on the use element's href was a new technique in the disclosed reports.

    Seen in 1 report

Kept working5

  1. Crafting a Markdown link containing special characters and an event handler broke out of an HTML attribute and ran script when the victim viewed the message.

    Seen in 1 report
  2. Parsing markup containing noscript tags through DOMParser APIs resulted in mutation XSS.

    Seen in 1 report
  3. Feeding crafted markup through ZeptoJS revealed a potential mutation XSS vulnerability.

    Seen in 1 report
  4. Assigning sanitised markup to an iframe srcdoc attribute bypassed the sanitiser.

    Seen in 1 report
  5. Adding an HTML output to a notebook containing an SVG use element whose href pointed to an allowed icon path followed by a path traversal to an attacker-controlled SVG ran script when the notebook was viewed in Firefox.

    Seen in 1 report