Cross-site request forgery
Definition
CSRF tricks an authenticated user's browser into submitting a state-changing request to a target site; because browsers attach that site's cookies, the server treats it as the user's own action.
In practice
Any cookie-authenticated app is exposed: a hidden form on evil.example can post to bank.example/transfer. Defences are layered: SameSite=Lax or Strict cookies, a per-session CSRF token the page includes in a hidden field or header (other origins cannot read it), checking Origin or Sec-Fetch-Site on state-changing requests, and never changing state on GET.
APIs that take tokens in an Authorization header are not exposed to classic CSRF, because browsers do not add that header automatically, but they trade it for token theft via XSS. The OAuth state parameter is a CSRF defence for the redirect flow. XSS on your own origin defeats CSRF tokens.
Example
A forum post embeds <form action="https://shop.example/account/email" method="POST"> that auto-submits; with SameSite=Lax the session cookie is not sent and the shop rejects the request.