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.
2023
5 pointsNew this year1
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
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
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
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
Writing a hyperlink in RDoc's own link syntax using the javascript scheme let it survive into the generated HTML.
Seen in 1 report