C

Web › Module 2 › Lesson 6

BeginnerModule 2Lesson 6/6

Quiz — XSS/CSRF

10-question quiz on XSS types, CSRF, encoding, CSP, and tokens

10 min+56 XP10 quiz
Module progress6 of 6

Opening

XSS & CSRF — Module Quiz

Ten questions on reflected/stored/DOM XSS, CSRF mechanics, output encoding, CSP, SameSite cookies, and ethical labs.

Knowledge Check

1

Reflected XSS payloads are typically delivered via:

Multiple choice

Knowledge Check

2

True or False: Stored XSS can compromise admins who view infected content later.

True or False

Knowledge Check

3

DOM XSS occurs when:

Multiple choice

Knowledge Check

4

CSRF forces the victim browser to:

Multiple choice

Knowledge Check

5

Select effective CSRF mitigations:

Select all that apply

Knowledge Check

6

Output encoding should happen:

Multiple choice

Knowledge Check

7

True or False: HttpOnly cookies prevent CSRF attacks.

True or False

Knowledge Check

8

A strict CSP without unsafe-inline helps mitigate:

Multiple choice

Knowledge Check

9

XSS can bypass CSRF tokens because:

Multiple choice

Knowledge Check

10

Ethical XSS labs should use:

Multiple choice

← Previous

Answer all 10 knowledge checks to continue. (0/10 answered)