Problem
Browsers execute untrusted content by default. Missing headers enable XSS, clickjacking, mixed content, referrer leakage.
Also known as: http-security-headers, csp, hsts, x-frame-options
Harden HTTP responses with security headers to mitigate XSS, clickjacking, MIME sniffing, and other client-side attacks.
Browsers execute untrusted content by default. Missing headers enable XSS, clickjacking, mixed content, referrer leakage.
None — headers
Low — CSP tuning, monitoring
Medium — CSP directives, nonce flow
CSP blocks legitimate script → broken UI
HSTS preload → can't revert HTTPS
COOP/COEP breaks cross-origin iframes
Referrer-Policy breaks analytics attribution
Nonce reuse → CSP bypass