GLOSSARY · A WORD, UNPACKED
CSRF
a cross-site request that rides the victim's cookies without their intent.
A little more detail
The attacker gets the victim's browser to submit a request to your origin. The browser attaches the cookies. If the cookie is the whole proof, the action runs. SameSite=Lax withholds the cookie on a cross-site POST. A token that must match between the form and the cookie covers the requests you still accept.
See it in practice
These lessons pair the idea with examples you can change and run.