Security · OWASP
Why is cross-site request forgery CSRF important in production systems?
cross-site request forgery CSRF is important because production systems depend on predictable behavior under real load and failure conditions. In practice, teams should use anti-forgery tokens for cookie-authenticated state-changing requests, apply SameSite cookies appropriately, verify origin where useful, avoid state changes through GET, and understand that bearer tokens sent explicitly are a different threat model.