Skip to content
CookieTosser

What is the __Host-next-auth.csrf-token cookie?

Used to help with site security in preventing Cross-Site Request Forgery attacks.

Our October 2026 scan found it on 5 sites (0% of the 2,450 we scanned), set before any consent.

Purpose
Functional
Belongs to
NextAuth.js
Set as
First-party (under the site's own domain)
Typical lifetime
Session (vendor says: session)

Sites that set __Host-next-auth.csrf-token before consent

The highest-ranked 5 of 5 sites.

How to stop it

Declining non-essential cookies in a site's consent banner should stop __Host-next-auth.csrf-token being set on later visits. 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