← Quiz: XSS: all 10 questions
Quiz: XSS · Question 10 of 10
Why can XSS be as serious as stealing a password?
Why can XSS be as serious as stealing a password?
- A.It only changes colours on the page
- B.The attacker's script runs as the victim on your site and can perform actions or read data
- C.It deletes the database directly
- D.It only works on old browsers
Answer & explanation
Correct answer: The attacker's script runs as the victim on your site and can perform actions or read data
The script has the same access as the logged-in user's page.
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 →