What is the _csrf cookie?
This cookie is used to prevent Cross-site request forgery (often abbreviated as CSRF) attacks of the website.
Our October 2026 scan found it on 17 sites (1% of the 2,450 we scanned), set before any consent.
- Purpose
- Necessary
- Belongs to
- Stonly
- Set as
- First-party (under the site's own domain)
- Typical lifetime
- Session (vendor says: session)
Sites that set _csrf before consent
The highest-ranked 17 of 17 sites.
- roku.com3 tracking companies
- weebly.com1 tracking company
- seznam.cz2 tracking companies
- mercadolivre.com.br1 tracking company
- mercadolibre.com.ar1 tracking company
- mercadolibre.com.mx1 tracking company
- ultimate-guitar.com0 tracking companies
- lookmovie2.to1 tracking company
- av380.net0 tracking companies
- kinopoisk.ru2 tracking companies
Show 7 more sites
- heyzine.com2 tracking companies
- flipboard.com3 tracking companies
- poshmark.com9 tracking companies
- mercadopago.com8 tracking companies
- warthunder.com2 tracking companies
- mercadopago.com.br6 tracking companies
- musescore.com0 tracking companies
How to stop it
Declining non-essential cookies in a site's consent banner should stop optional cookies, though a necessary cookie like this one may still be set. Blocking third-party cookies in your browser settings stops the third-party kind everywhere, and clearing cookies for a site removes any it already set.
Description from the Open Cookie Database (Apache 2.0).
Understanding this page
- How cookie lifetimes work, and why a 13-month _ga matters
What a cookie's "expires" field actually controls, why Google Analytics ships a 2-year default that many sites cut down to 13 months, and how Safari's 7-day cap on script-set cookies changes the picture.
- First-party vs third-party cookies (and why "first-party" still tracks you)
What the distinction actually means technically, why browsers only block one of the two, and how CNAME cloaking, server-side tagging and cookies like _ga let sites keep tracking under their own domain.
- How to block or limit trackers
Browser privacy settings, content blockers, Global Privacy Control and clearing cookies compared honestly — what each one actually stops, what it doesn't, and what it costs you in return.