FewCookies

Cookie glossary · Strictly necessary

What is the X-CSRF-TOKEN cookie?

CSRF token sent in request headers for server-side validation. It is set by Laravel and classified as "Strictly necessary". No consent required.

At a glance

Provider Laravel
Category Strictly necessary
Consent required? No
Typical domain Varies (first-party)

How FewCookies handles this cookie

FewCookies recognises X-CSRF-TOKEN from our database of 1,300+ known cookies and classifies it automatically as "Strictly necessary". The free check tells you whether this cookie is detected on your site and whether your banner handles it correctly — an instant, surface-level check, no account needed.

Check your site for free →

Frequently asked questions

Do you need consent for the X-CSRF-TOKEN cookie?

No. X-CSRF-TOKEN is a strictly necessary cookie, exempt from consent under Article 5(3) of the ePrivacy Directive and Law 506/2004. You may use it without the visitor's prior agreement.

What does the X-CSRF-TOKEN cookie do?

CSRF token sent in request headers for server-side validation.

Who sets the X-CSRF-TOKEN cookie?

The X-CSRF-TOKEN cookie is associated with Laravel and is classified as strictly necessary.