🎙 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 1 of 10

A malicious comment is saved in the database and runs in every reader's browser. This is:

A malicious comment is saved in the database and runs in every reader's browser. This is:

  1. A.Stored XSS
  2. B.Reflected XSS
  3. C.DOM XSS
  4. D.SQL injection
Answer & explanation

Correct answer: Stored XSS

The payload is stored on the server and served to every visitor — stored (persistent) XSS.

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 →