Input Field
Enter text in the field below and click "Submit" to simulate XSS.
Warning: XSS Detected! Your input contains malicious code.
What is Cross-Site Scripting (XSS)?
Cross-Site Scripting (XSS) is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can be used to steal cookies, session tokens, or other sensitive information.
Example: Enter <script>alert('XSS!')</script> in the input field to trigger the vulnerability.
To prevent XSS, always sanitize and validate user input!