Category Ethical Hacking

Lab 4: DOM XSS in `innerHTML` Sink Using Source `location.search`

Vulnerability Type: DOM-based Cross-Site Scripting (XSS)  Attack Vector The vulnerable application dynamically injects user-controlled input from `location.search` (URL parameters) into the DOM using the `innerHTML` property, without proper sanitization. This allows an attacker to inject arbitrary HTML/JavaScript, leading to script…

Lab 1: Reflected XSS into HTML Context with Nothing Encoded

Vulnerability Type: Reflected Cross-Site Scripting (XSS) Attack Vector The vulnerable application reflects user input directly into the HTML response without encoding or sanitization, allowing arbitrary JavaScript execution. The attack vector leverages a simple search functionality where the input is embedded…