🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Stored
  2. B.Reflected
  3. C.DOM-based
  4. 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 →