WQI.web​qualityindex

Security

X-Content-Type-Options: nosniff

Tells the browser to trust your declared Content-Type instead of guessing. Stops 'I uploaded a JPG that was actually JavaScript' attacks dead.

Authority
WHATWG
Version
Fetch Standard
Jurisdiction
Global
Source
fetch.spec.whatwg.org
Last reviewed
2026-04-28
Last verified
pending

What it is

A response header with a single value, 'nosniff'. Disables the browser's MIME-sniffing fallback so it executes scripts and styles only when the Content-Type genuinely says so.

Why it matters

User-uploaded content (images, attachments) can be crafted to look like an HTML or JS file to a browser sniffing the bytes. nosniff closes that hole. Should be set on every response, period.

Who it applies to

Every HTTP response.

How WQI scores it

Web Quality Index considers this standard satisfied when the supporting factor passes.

# Factor Status
4 Security headers (HSTS, CSP, X-Frame-Options, Referrer-Policy, Permissions-Policy, X-Content-Type-Options) live

Related standards

See also
Security headers

Standards that share factors with this one

Auto-computed from overlapping factor tickets in satisfiedBy, excluding standards already listed under "See also" above. Strong overlap suggests these standards rise and fall together when sites are scored.

Other references