Web › Module 2 › Lesson 6
Quiz — XSS/CSRF
10-question quiz on XSS types, CSRF, encoding, CSP, and tokens
Opening
XSS & CSRF — Module Quiz
Ten questions on reflected/stored/DOM XSS, CSRF mechanics, output encoding, CSP, SameSite cookies, and ethical labs.
Knowledge Check
Reflected XSS payloads are typically delivered via:
Multiple choice
Knowledge Check
True or False: Stored XSS can compromise admins who view infected content later.
True or False
Knowledge Check
DOM XSS occurs when:
Multiple choice
Knowledge Check
CSRF forces the victim browser to:
Multiple choice
Knowledge Check
Select effective CSRF mitigations:
Select all that apply
Knowledge Check
Output encoding should happen:
Multiple choice
Knowledge Check
True or False: HttpOnly cookies prevent CSRF attacks.
True or False
Knowledge Check
A strict CSP without unsafe-inline helps mitigate:
Multiple choice
Knowledge Check
XSS can bypass CSRF tokens because:
Multiple choice
Knowledge Check
Ethical XSS labs should use:
Multiple choice
Answer all 10 knowledge checks to continue. (0/10 answered)