Web Security · Junior · Question 29 of 75

Why is CSRF possible with cookie-based sessions?

Explanation

Ambient credentials are the core of CSRF. The SameSite attribute was added to cookies to limit this behavior.

Further reading

Problem with a question

Web Security · Junior · question 29

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