Glossary

CSRF

CSRF (Cross-Site Request Forgery) is an attack that tricks an authenticated user's browser into sending a forged request to a server on their behalf. The browser automatically includes cookies — so the server considers the request legitimate.

How it happens

The victim is logged into bank.com. They open a malicious page with a hidden <form> that auto-submits a POST to bank.com/transfer. The browser attaches the bank's cookie — and the transfer goes through.

Defence