The three main types of XSS
Overview
Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious code into web pages viewed by other users. When a user visits a compromised web page, the injected code executes in the user’s browser and can do things like steal user data, display fake login prompts, and more.