Skip to content

In-depth lesson · Mutation XSS and sanitiser bypass

Reports behind this point

Test with a variety of markup, including SVG, MathML, custom elements, and unusual attributes. Pay attention to how the sanitiser handles namespaces and encoding. Try to find discrepancies between the sanitised output and the rendered DOM. Simple probes like unclosed tags or encoded characters can reveal parsing differences.