Code vulnerable to cross-site request forgery (CSRF)

Overview

Cross-site request forgery, also known as one-click attack or session riding and abbreviated as CSRF or XSRF, is a vulnerability that enables attackers to send unauthorised commands that exploit a user's session. Unlike cross-site scripting (XSS), which exploits the trust a user has for a particular site, CSRF exploits the trust that a site has in a user's browser.

Business Impact

Increased risk of data breaches, financial loss, and reputational harm. Eroding customer trust and confidence.

Resources

Frequent

Incidence

How common is this issue?
15%9%
arrow down6%
lower

Exposure

How long do organizations remain exposed before fixing the problem?
3 years10 months
arrow down71%
shorter
BenchmarkWith Clayton

Frameworks

TrustediconSecureiconSession SecurityiconSession ManagementiconA01:2021 – Broken Access Controlicon