Achieving the impossible: XSS in innerHTML without equals
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
A guest post by security researcher Masato Kinugawa, published on PortSwigger's research channel, describes an XSS vector that solves PortSwigger's "impossible" lab "innerHTML context but no equals allowed." The technique abuses the newer HTML selectedcontent element, which clones the selected option's child nodes, to run an SVG script that was…