Software Securityhome
Fix a findingSearch
Glossary

CSRF

Cross-site request forgery

Another site makes the victim’s browser send an authenticated request the user did not intend. Defenses depend on how credentials are sent, the request type and the application context.

Also called
XSRF
Defined in
MITRE CWE-352

Covered in

All 7 pages that cover CSRF in the library

Practice: CSRF lab: Protect an account change from a forged request · CORS policy lab: Grant CORS to the right origins only · CSP builder lab: Build a strict Content-Security-Policy · OAuth redirect and PKCE lab: Match redirect URIs and verify PKCE

Find your next answer

Type to search. Search runs in your browser.

Searches run in your browser, but the host can infer them from the index files they load. The address shows your search so you can bookmark or share it.