← Quiz: XSS: all 10 questions
Quiz: XSS · Question 6 of 10
A search page prints "Results for" plus the q parameter without encoding, and the attacker sends a crafted link. Which…
A search page prints "Results for" plus the q parameter without encoding, and the attacker sends a crafted link. Which type of XSS is this?
- A.Stored
- B.Reflected
- C.DOM-based
- D.SQL injection
Answer & explanation
Correct answer: Reflected
The payload travels in the link and is reflected straight back in the response.
Can you get the rest right without peeking?
Take the timed Quiz: XSS quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →