Skip to main content
Wix fix guide

Cookies Missing HttpOnly Flag on Wix

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.

Wix fix path

How to fix this on Wix

Use page settings and editor sections first.

  1. 1Find the relevant page or site setting.
  2. 2Apply the change in Wix Editor.
  3. 3Publish and validate the result.

After you fix it

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

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