LumoMate
LumoMate/Glossary/BoundarySecurity

CSRF

Tricking a logged-in user's browser into acting.
Editorial illustration representing CSRF: Tricking a logged-in user's browser into acting.

Cross-site request forgery exploits the fact that the browser will send your cookies to your bank whether or not your bank is the page the user is looking at. Tokens, same-site cookies, and care defeat it.

In plain language

In security, this is one of the pieces a system uses to keep the wrong people out and the right people in. Cross-site request forgery exploits the fact that the browser will send your cookies to your bank whether or not your bank is the page the user is looking at. Tokens, same-site cookies, and care defeat it. If you are new to the field, the simplest mental model is this: tricking a logged-in user's browser into acting. Read it once with that frame in mind, then come back and read it again — that is usually enough for the rest of the entry to make sense.

Inline editorial illustration evoking CSRF: tricking a logged-in user's browser into acting.
FIG. 1CSRF, seen from a second angle — tricking a logged-in user's browser into acting.

An everyday picture

Think of CSRF as a lock on a door. Boring when it works, suddenly the loudest thing in the room when it doesn't. The goal is for it to stay boring.

Where it shows up

CSRF runs in the background of any product that handles login, payment, or private data. It is most visible the moment it fails — someone gets in who shouldn't, or someone is locked out who shouldn't be.

A small example

Imagine the scene above. The role CSRF plays is the one its blurb describes — Tricking a logged-in user's browser into acting. When you log in to a bank without anyone in a café reading your password, ideas like this are doing the protective work.

Common misunderstanding

MYTH
Most CSRF failures are not exotic attacks. They are someone forgetting to turn something on, or turning it off so that another thing could ship.

One line to take with you

CSRF is a quiet promise. Keep the promise small, write it down, and check it works.
Monday 08:00 — every week

One letter a week,
lasting understanding.

Only essays that don't get scrolled past. No ads, no tracking pixels, no external linkbait — the letter ends inside your inbox.

One-click unsubscribe. No spam.