logo

Database

Http Missing Strict Transport Security

Description

Detects when a website served over HTTPS is missing the HTTP Strict Transport Security (HSTS) header. HSTS is a critical security header that forces browsers to only connect over HTTPS, preventing downgrade attacks and protecting against SSL-stripping.

Detection Strategy

    • Website must be accessed over HTTPS (https:// URL scheme)

    • The Strict-Transport-Security header is not present in the HTTP response

    • Reports a vulnerability when both conditions are true - HTTPS site without HSTS header