Readiness check · Harden lane · weight 3
X-Content-Type-Options: nosniff
The homepage response includes X-Content-Type-Options: nosniff.
- Observed on
- 48%
- Top 1K sites
- 52%
- Top 1M band
- 46%
- Not measured
- 11,311
of 28,784 measured sites
286 measured
4,672 measured
blocked, challenged or not applicable
Why it matters
It stops browsers from guessing a file's type, which blocks a class of attacks where an uploaded file is run as a script.
How to fix it
Send X-Content-Type-Options: nosniff on all responses and make sure each file is served with the correct Content-Type.
How we check
The homepage response includes X-Content-Type-Options: nosniff.
Observed: nosniff header present.
Not observed: nosniff header not sent.
Limit: Read from the homepage response only; other pages or regions may send different headers.
Stack-specific steps
- Cloudflare: Add the header with a response header transform rule.
- Amazon CloudFront: Enable it in a response headers policy (security headers section).
- Next.js: Add it in next.config.js headers().
- Vercel: Add it in vercel.json headers.
- Drupal: The Security Kit module can set common security headers.
By popularity band
| Chrome UX Report band | Observed | Measured |
|---|---|---|
| Top 1K | 52% | 286 |
| Top 5K | 46% | 1,308 |
| Top 10K | 46% | 1,648 |
| Top 50K | 48% | 12,853 |
| Top 100K | 50% | 3,896 |
| Top 500K | 49% | 4,121 |
| Top 1M | 46% | 4,672 |
Categories most likely to do this
Categories least likely
By stack
- Shopify97%
- Magento / Adobe Commerce96%
- Adobe Experience Manager on Amazon CloudFront93%
- Drupal on Cloudflare90%
- Drupal88%
- Adobe Experience Manager86%
- Sitecore59%
- Blogger59%
- Nuxt on Amazon CloudFront55%
- Astro54%
- Angular53%
- Next.js on Fastly52%
- Next.js on Amazon CloudFront51%
- Next.js on Cloudflare51%
- Next.js48%
- Next.js on Google edge47%
- Next.js on Akamai46%
- Nuxt on Cloudflare44%
- WordPress on Cloudflare41%
- Nuxt40%
- WordPress on Amazon CloudFront39%
- Next.js on Vercel38%
- PrestaShop35%
- WordPress33%
- Webflow30%
By provider
- Azure Front Door/CDN66%
- Akamai58%
- Google edge55%
- Cloudflare54%
- Imperva52%
- Fastly51%
- Amazon CloudFront51%
- Vercel40%
Popular sites where we observed this
Sources and guides
Guide: A Practical Website Health Check for OwnersCheck your own site