Cross-site request forgery (CSRF)
2 guides tagged Cross-site request forgery (CSRF), grouped by topic, with the SDLC phase and role each is written for.
- SDLC phases
Application security
1 guideRuntime, cloud & APIs
1 guidePractice
Browser lab · Foundation · 20–30 min
CSRF lab: Protect an account change from a forged request
An account settings handler trusts the session cookie even when another site causes the request. Repair the request policy and preserve legitimate settings updates.
Fix card · CWE-352
Cross-site request forgery (CSRF)
Cross-site request forgery happens when a server accepts a state-changing request because it carries the user's session cookie.