Skip to main content
Shopify fix guide

Weak Content Security Policy on Shopify

The Content-Security-Policy header is present but uses unsafe directives (unsafe-inline, unsafe-eval, or wildcard sources) that significantly reduce its effectiveness.

Issue ID: SEC-CSP-QUALITY-001Severity: moderateEffort: M

Why this matters

The Content-Security-Policy header is present but uses unsafe directives (unsafe-inline, unsafe-eval, or wildcard sources) that significantly reduce its effectiveness. This affects browser trust signals and whether visitors feel safe submitting contact details.

Shopify fix path

How to fix this on Shopify

Use theme settings, page settings, or theme code.

  1. 1Find the source of the issue in Shopify admin.
  2. 2Apply the change.
  3. 3Preview and publish.

After you fix it

  • Check CSP header and confirm no unsafe-inline, unsafe-eval, or wildcard sources

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