Web Security · Junior · Question 35 of 75

Which attack does a CSRF token NOT protect against?

Explanation

Code running on your own origin can read your pages and tokens. XSS defeats CSRF defenses, so both have to be fixed.

Further reading

Problem with a question

Web Security · Junior · question 35

Test yourself

Take the Web Security · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz