Description
The absence of the X-Content-Type-Options response HTTP header may expose a website to MIME sniffing attacks. MIME sniffing, performed by browsers when the MIME type is not explicitly declared, can lead to the interpretation of non-executable content as executable, potentially exposing users to security risks.
Recommendation
To mitigate this risk, configure your server to send the X-Content-Type-Options header with the value set to nosniff. This instructs browsers not to perform MIME sniffing and to strictly respect the declared content type.
References
Could your website be exposed too?
SmartScanner can check your website for X-Content-Type-Options Header is Missing and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Content-Security-Policy Header is Missing - Vulnerability
- X-Frame-Options Header is Missing - Vulnerability
- X-XSS-Protection Header is Missing - Vulnerability
- Strict-Transport-Security Header is Missing - Vulnerability


