An Introduction to DOM Clobbering and Its Applications

Other

Do you know that things in the DOM can affect the window? This behavior is something I accidentally learned a few years ago in a front-end community on Facebook, that is, after you set an element with an id in HTML, you can directly access it in JS

https://blog.huli.tw/2021/01/23/en/dom-clobbering/