cross-site request forgery

An attack where another website makes the victim's browser send a request to your site, and the browser's cookie makes it look genuine.

It lets attackers perform actions as a logged-in user without their knowledge.

In more detail

CSRF stands for cross-site request forgery. Because the browser attaches cookies automatically, a hidden form on an evil page could submit a money transfer to your bank. SameSite cookies block most cases, and anti-CSRF tokens add defence in depth.

Related terms

Taught in

References