Defaults.Exposed › Methodology › v7 registry › Content-Security-Policy
Content-Security-Policy
Methodology v7 · canonical ID csp-header · Web Security · scored · census as of July 28, 2026
Reduces the chance a hacked or injected script steals customer data off your site.
Definition
| Canonical ID | csp-header |
|---|---|
| Category | Web Security |
| Grade impact | Scored — counts toward the grade |
| Pass | The site sends an effective Content-Security-Policy header. |
| Fail | No CSP header is sent. |
| Example (passing) | Content-Security-Policy: default-src 'self' |
No-data rule: when this check couldn't be determined for a domain (timeout, SERVFAIL, redacted
source) it returns N/A and is excluded from that domain's scoring denominator — "couldn't determine"
is never counted as a failure. "Determined absent" is a real fail.
Prevalence across the census
3.78% of graded domains send an effective Content-Security-Policy header (10,409,054 of 275,666,275, as of July 28, 2026).
Census denominator: 275,666,275 graded domains. Aggregates only — never an individual domain's result.
Fix it
Plain-English impact, cost of ignoring it, and step-by-step remediation: defaults.exposed/en/fix/csp
Cite this check
Defaults.Exposed, "Content-Security-Policy (csp-header)", Grading Methodology v7 (census as of July 28, 2026). https://defaults.exposed/methodology/v7/csp-header
Permalink: https://defaults.exposed/methodology/v7/csp-header ·
All 34 checks: v7 registry ·
Machine-readable: checks.json ·
Licence: open data