Client Side Request Forgery (CSRF)
What is CSRF?
CSRF (Cross-Site Request Forgery) is an attack that tricks a user into performing unwanted actions on a web application where they’re already authenticated.
How it works?
You’re logged into a site (e.g., your bank).
A malicious website tricks your browser into making a request to that site (e.g., transfer money).
Since you’re already logged in, the browser includes your session cookie automatically.
The request is processed as if it came from you—without your knowledge.
Video Explanation
Last updated