Web Security · Capture the flag
Reflected XSS - Cookie Stealer
Beginner · 2/5
Free50 points on first solo solveChallenge brief
The search functionality on this page reflects user input without sanitization. The flag is stored in a cookie called secret_flag. Craft an XSS payload that executes JavaScript to alert the flag cookie.