Skip to main content
Back to challenges

Web Security · Capture the flag

Reflected XSS - Cookie Stealer

Beginner · 2/5
Free50 points on first solo solve

Challenge 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.

Solo practice

Sign in to submit an answer and save your progress.

Sign in to practice