Skip to content

In-depth lesson · Mutation XSS and sanitiser bypass

Year by year: 2023

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

2023

5 points

New this year1

  1. Injecting a meta refresh tag pointing at a data URL containing script was a new technique, though Gmail's CSP stopped it from running.

    Seen in 1 report

Kept working4

  1. Allowing svg and use tags, passing an SVG use element whose href was a base64-encoded SVG data URI containing an image with an error handler, and rendering the output fired the handler.

    Seen in 2 reports
  2. Configuring select and style in the class-level allowed tags, reflecting a parameter through the sanitize helper and sending a crafted select and style payload ran script.

    Seen in 1 report
  3. In the Gmail AMP playground, placing HTML-like text after a CSS property declaration inside the style amp-custom block made a closing style tag without its final bracket parse as a close tag.

    Seen in 1 report
  4. Writing a hyperlink in RDoc's own link syntax using the javascript scheme let it survive into the generated HTML.

    Seen in 1 report