Most common security-header misconfigurations
Updated November 24, 2026. Based on 6,396 unique hostnames with at least one measured result, scanned by SecureMonk users between March 7, 2026 and November 24, 2026. Each figure uses the latest scan per host that measured it, and each share is over the hosts where that check had an answer.
HTTP security headers are the cheapest defensive layer on a website. Each one is a single line in a server config, costs nothing, and quietly closes a class of attacks. Adoption rates are far lower than the cost would predict. Here is what the data shows.
The ranking
| Header | Hosts missing it | % of sites |
|---|---|---|
| Content-Security-Policy | 3,726 | 60.5% |
| X-Frame-Options | 3,006 | 48.8% |
| X-Content-Type-Options | 2,788 | 45.3% |
| Strict-Transport-Security | 2,669 | 43.3% |
These are the four headers that cost points when missing: they carry the large penalties, and a missing HSTS or CSP also caps the score. Referrer-Policy and Permissions-Policy cost a few points only when invalid, and nothing when missing; a version-disclosing Server header and any X-Powered-By cost a few points; the Cross-Origin headers are reported but not scored. None of those is missing in a way that costs points, so they are left out of the ranking above.
Content-Security-Policy
60.5% of sites do not set a Content-Security-Policy header. CSP is the most powerful header in the list, and also the most complex. A correct policy requires knowing every domain your site loads scripts, styles, fonts, and images from. For a single-page app with third-party analytics, embedded videos, and a payment widget, that list is long and changes when the marketing team adds a new tool. Many teams set CSP to report-only mode during development and never promote it to enforcement.
The fix path is to start with Content-Security-Policy-Report-Only and a minimal policy, collect real-world reports for a week, refine the policy, then switch to enforcement.
X-Frame-Options
48.8% of sites do not set X-Frame-Options. (Some of them may set its modern replacement, frame-ancestors in CSP, which this count does not check.) A page that sets neither can be loaded in a hidden iframe on an attacker-controlled page, which is the entire mechanism behind clickjacking. The fix is one line.
X-Content-Type-Options is the easiest possible win
The only valid value for X-Content-Type-Options is nosniff. There are no edge cases, no risk of breaking the site, no maintenance. 45.3% of sites do not set it. This is the easiest header in the entire list to add.
Strict-Transport-Security
43.3% of sites still lack a Strict-Transport-Security header. Without HSTS, the first request from a new visitor can be intercepted before it is redirected to HTTPS. Modern HSTS configs also support browser preloading via hstspreload.org, which closes the first-visit gap entirely.
Why this gap persists
Three reasons keep showing up:
- Default platform configs do not include these headers. A vanilla nginx, IIS, or Apache install ships without them.
- Teams worry about side effects. CSP is the one of the four where that fear is most justified. X-Frame-Options and X-Content-Type-Options rarely break anything, and HSTS is safe as long as
includeSubDomainswaits until every subdomain serves HTTPS. - Nobody routinely audits for them. Headers are invisible to end users, so they do not show up in QA.
Methodology
Same dataset as the other insights pieces. 6,396 unique hostnames with at least one measured result, scanned through SecureMonk between 2026-03-07 and 2026-11-24. The header figures use each host's latest scan that measured its headers (6,158 hosts). We only count a header as missing when our scanner returned status absent on one of the four headers that cost points when missing. Referrer-Policy, Permissions-Policy and the Cross-Origin family cost nothing when missing, so they are excluded from the ranking but visible in individual scan results.