🚨 XSS Vulnerability Demonstration

⚠️ WARNING

This page is intentionally vulnerable to demonstrate XSS attacks for educational purposes!

Test XSS Vulnerability

🚨 Your input was reflected without escaping:

If you see an alert or other script execution, the XSS attack worked!

Try these XSS payloads:

What makes this vulnerable?

How to fix:

'); // Simulate cookie stealing (for demo purposes) if (''.includes('document.cookie')) { console.log('🚨 Cookie stealing attempt detected!'); console.log('Available cookies:', document.cookie); }