Difficulty: Intermediate
What is CSRF and how do you stop it?
CSRF tricks a user's browser into performing actions on another site. Stop it using **SameSite=Lax/Strict** cookies and manual Anti-CSRF tokens for POST requests.
CSRF, SameSite Cookie, Anti-CSRF Token, State-changing