Challenge 1: XSS Input

Try to inject a script that displays an alert (e.g., <script>alert('XSS')</script>).

๐Ÿ” What is XSS?

Cross-Site Scripting (XSS) allows attackers to inject malicious JavaScript into web apps.

๐Ÿ’ฅ Example Attack:

Try something like: <script>alert('XSS')</script>

๐Ÿ›ก๏ธ How to Prevent XSS:

๐Ÿ“š Learn More:

OWASP XSS Guide