Index Ai Academy
Glossary · Phase 8 · APIs

Cross-site request forgery

Also written: CSRF

An attack where another website makes your browser send a request to a site you're signed in to, with your cookies, without you knowing.

Try it now

Only the final GET is repeated by a reload, so nothing is saved twice.

Learn it properly

Forms and redirects · GET and POST, validation messages, post/redirect/get, flash messages and CSRF tokens. About 45 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write