DOM Clobbering Websites - Micro Benchmarks - 1

Description: Explore how DOM properties can be manipulated for benchmark testing in browser environments.

Source:

Type: WIN-TYPE-1

Code:

window.clobber_prop;

Sink:

Type: XSS

Code:

document.createElement('script').src

Testing Code:

let script = document.createElement('script');
script.src = window.clobber_prop;
document.body.appendChild(script);