DOM-based XSS
DOM-based XSS, also known as type-0 XSS or client-side XSS, is a type of cross-site scripting attack that occurs when the attacker can manipulate the DOM (Document Object Model) of a web page to inject and execute malicious code. Unlike Reflected XSS and Stored XSS, the attack payload is not sent to the server but…