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.
2025
7 pointsNew this year1
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
Allowing math and style together, reflecting a parameter through the sanitize helper and sending crafted markup let script survive sanitisation.
Seen in 2 reports
Allowing svg and style together, reflecting a parameter through the sanitize helper and sending crafted markup let script survive sanitisation.
Seen in 1 report
Copying crafted attachment markup and pasting it into the Trix editor bypassed the sanitiser and ran script.
Seen in 1 report
Allowing the style tag explicitly, reflecting a parameter through the sanitize helper and sending crafted markup let it survive filtering.
Seen in 1 report
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
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