Hexret

Web Security · Browser Security

DOM Clobbering

Also known as: DOM Clobbering Attack

Attacker-influenced markup creates named DOM properties that application code reads instead of the value it expected. The markup alone is not the impact: a reachable script gadget must consume the clobbered value in a sensitive action, such as loading a script or navigating a window. Use explicit object references and validate values before sensitive sinks.

Where you practice it

Related terms