Skip to content

In-depth lesson · Mutation XSS and sanitiser bypass

Year by year: 2025

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

Clear the search

2025

7 points

New this year1

  1. Overwriting the file_type=lsif response with crafted JSON, refreshing, clicking the grey square and checking whether markup injected through the code navigation response ran script gadgets in data attributes was a new technique.

    Seen in 1 report

Kept working6

  1. Allowing math and style together, reflecting a parameter through the sanitize helper and sending crafted markup let script survive sanitisation.

    Seen in 2 reports
  2. Allowing svg and style together, reflecting a parameter through the sanitize helper and sending crafted markup let script survive sanitisation.

    Seen in 1 report
  3. Copying crafted attachment markup and pasting it into the Trix editor bypassed the sanitiser and ran script.

    Seen in 1 report
  4. Allowing the style tag explicitly, reflecting a parameter through the sanitize helper and sending crafted markup let it survive filtering.

    Seen in 1 report
  5. Allowing the noscript element, reflecting a parameter through the sanitize helper and sending crafted nesting left script markup in the output.

    Seen in 1 report
  6. On a self-hosted instance, creating a public group and subgroup, finding an asset icon URL, creating a public project named after the hashed SVG file with a malicious SVG, then adding a task whose name contained an SVG use element pointing to it resulted in XSS.

    Seen in 1 report