Concept Flow - How XSS attacks exploit unescaped output
User Input
Input Stored
Output Without Escaping
Browser Executes Malicious Script
XSS Attack Successful
User Data Compromised
User input is stored and then output without escaping, causing the browser to run malicious scripts, leading to an XSS attack.