Skip to main content
WordPress fix guide

Cookies Missing SameSite Attribute on WordPress

Cookies are set without the SameSite attribute. While modern browsers default to Lax, explicitly setting it provides better CSRF protection.

Issue ID: SEC-COOKIE-SAMESITE-001Severity: minorEffort: S

Why this matters

Cookies are set without the SameSite attribute. While modern browsers default to Lax, explicitly setting it provides better CSRF protection. This affects browser trust signals and whether visitors feel safe submitting contact details.

WordPress fix path

How to fix this on WordPress

Use the page editor, theme, or SEO tooling depending on where this issue lives.

  1. 1Inspect the page and theme output.
  2. 2Apply the fix in the most direct place.
  3. 3Publish and validate with a re-audit.

After you fix it

  • Inspect cookies and confirm all have an explicit SameSite attribute

See every WordPress issue on your site

This is one issue of many the full audit checks. Run a free scan to see what else might be holding your site back.

Run Free Audit