Security

File types cannot be second-guessed

security.missing-content-type-options

Why this matters

Without this header a browser may ignore what your server says a file is and guess instead. An uploaded image that is secretly a script can then be run as one.

Who fixes it

You can, usually

Roughly how long

10 minutes

Care needed

Low risk to change

How to fix it

Send `X-Content-Type-Options: nosniff` on every response.

On your platform

WordPress

Your host or CDN rather than WordPress. Cloudflare can add it as a response header rule; Apache hosting can add it to `.htaccess`; a headers plugin will do it if you have neither. This one has a single correct value and breaks nothing, so take whichever of the three is nearest to hand.

Shopify

Shopify sends this on storefront responses and merchants cannot change storefront headers either way, so there is nothing to do. If it is being reported, check that the address scanned is really served by Shopify rather than by a redirect or a parked domain.

Drupal

The Security Kit (`seckit`) module sets it without server access; otherwise add it to the web server configuration with the others.

Joomla

Covered by the System – HTTP Headers plugin in Joomla 4 and 5, which sets it by default once the plugin is enabled.

How we score it

Failing this check takes up to 6 points off your security score. It is a fact about your site rather than a measurement, so it reads the same on every scan until you change something.

Does your site pass this one?

This check runs on every scan, along with the other 106. Free, no account, and you see the evidence for each result.

Check my site

Other security checks

See all 107 checks