Skip to main content
Squarespace fix guide

Cookies Missing HttpOnly Flag on Squarespace

Cookies are set without the HttpOnly flag, making them accessible to JavaScript. This increases the risk of cookie theft via XSS attacks.

Issue ID: SEC-COOKIE-HTTPONLY-001Severity: moderateEffort: S

Why this matters

Cookies are set without the HttpOnly flag, making them accessible to JavaScript. This increases the risk of cookie theft via XSS attacks. This affects browser trust signals and whether visitors feel safe submitting contact details.

Squarespace fix path

How to fix this on Squarespace

Check page settings, navigation, and code injection.

  1. 1Identify whether this is page-level or site-level.
  2. 2Apply the fix.
  3. 3Republish and confirm.

After you fix it

  • Inspect cookies in DevTools and confirm session cookies have the HttpOnly flag

See every Squarespace 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