The story’s score and claims

Comments on No. 8 of 140 · PortSwigger Research · edition of Thursday 3 December 2026

HyperText Mischief Language

Summary

PortSwigger Research tested fifteen HTML sanitizers and reported bypasses in several, mostly from parsing differences between the sanitizer and the browser. Findings include DOM clobbering via allowed name attributes (Symfony, AntiSamy, Loofah), integer-overflowing entities and a scan-aborting crash in AntiSamy, a comment-handling flaw needing preserveComments, and a Safari-only Loofah HTML5 bypass. The author judges HTML sanitizers sturdier than SVG ones. The Safari behavior and the Chrome attr() credit were not independently verified, and the claims rest on the author's own demonstrations.

Comments

Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules