Join our Newsletter — 33% off our NHI Course
Authentication, Authorisation & Trust

SameSite=Strict

← Back to Glossary
By NHI Mgmt Group Updated November 26, 2026 Domain: Authentication, Authorisation & Trust

SameSite=Strict is a cookie attribute telling the browser to send the cookie only on same-site requests, never on cross-site requests, including top-level navigations from other sites. It reduces cross-site request forgery exposure for session cookies. It does not replace CSRF tokens, and it does not protect against attacks originating from within the same site.

What SameSite=Strict actually changes in browser behavior

The Strict setting tells the browser to withhold the cookie on cross-site requests, including navigations that start on another site. That means the browser will only attach the cookie when the request is initiated within the same site context, which narrows where ambient session authority can flow.

In practice, this is a browser-side request scoping rule, not a session validation mechanism. It influences whether a cookie is sent, but it does not validate the requester's intent, authenticate a user again, or guarantee that the application is safe from abuse once a request is already same-site.

This distinction matters because cookies are often used to carry session state. If a session cookie is sent too broadly, a cross-site request can ride along with existing browser credentials. SameSite=Strict narrows that exposure by defaulting to non-disclosure outside the site boundary.

Why Strict is stronger than looser SameSite settings

Compared with less restrictive settings, Strict gives the narrowest delivery model. That improves resistance to classical cross-site request forgery patterns, especially where a victim is already logged in and an attacker tries to trigger state-changing behavior from another origin.

The trade-off is usability. Some legitimate user journeys depend on arriving from another site, such as third-party deep links, email links, or federated handoffs. With Strict, those navigations may land without the cookie, which can break continuity and require a fresh sign-in or an application-specific fallback path.

Because of that, Strict is best understood as a deliberate reduction in ambient authority, not as a universal default for every cookie. Session cookies, preference cookies, and cookies used in cross-site workflows can have different tolerance for blocked cross-site delivery.

How Strict fits with CSRF defenses and session design

SameSite=Strict is a useful layer, but it does not remove the need for CSRF tokens, origin checks, or server-side request validation. A well-designed application still treats browser cookie behavior as one control among several, because the request can be same-site and still malicious.

It is especially important to distinguish cookie transport from application trust. If the application assumes that a cookie automatically implies legitimate intent, then a same-site attack path, a compromised subdomain, or a malicious action taken inside an authenticated browser session can still succeed.

That is why cookie attributes should be designed alongside session lifetime, logout behavior, and state-changing request protections. The goal is to reduce accidental credential attachment without depending on the browser alone to enforce security policy.

Where to verify and validate a Strict deployment

For a complete cookie baseline, combine browser testing with application review. Validate that the cookie is actually issued with the intended attribute, that critical flows still work when the cookie is withheld on cross-site entry points, and that the application does not silently depend on cross-site cookie delivery for security-sensitive actions.

The broader pattern is covered in NHIMG's Cookie Security Guide, which explains how SameSite fits with Secure, HttpOnly, prefixes, and session-cookie baselines. For the CSRF boundary specifically, the comparison between SSRF vs CSRF is useful because it shows why browser-delivered cookies reduce one class of abuse but do not replace server-side defenses.

When teams are also thinking about browser-mediated information leaks, XS-Leaks Guide is a useful companion because SameSite contributes to reducing cross-site exposure, but it is not a complete isolation model on its own.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP API Security Top 10 addresses the attack and risk surface, while OWASP ASVS and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP ASVSV7 — Session ManagementSameSite Strict is part of browser session-cookie handling and request scoping.
V6 — AuthenticationCookie delivery affects how authenticated sessions are carried after login.
Recommendation — Set session cookies with the strictest feasible attributes and verify cross-site handling during testing. Treat cookie attributes as part of authenticated session design, not as a substitute for login checks.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementCookie-based session material needs lifecycle and usage constraints to limit abuse.
Recommendation — Constrain session-cookie use so credential-bearing material is not sent outside intended contexts.
OWASP API Security Top 10API2 — Broken AuthenticationCross-site cookie misuse can undermine authenticated API requests when browser sessions are reused.
Recommendation — Ensure APIs do not rely on ambient browser cookies alone for request legitimacy.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org