Security · Security headers
Missing Content-Security-Policy header
This page is served without a Content-Security-Policy header, so the browser has no rules to limit where scripts, frames and other resources come from.
How this page is built
Every page on this site is served with four security headers: X-Content-Type-Options, X-Frame-Options, Referrer-Policy and Content-Security-Policy. They are listed page by page in the site's Netlify _headers file, and this page's entry leaves out Content-Security-Policy. The policy on other pages is short, frame-ancestors 'none', so that it blocks nothing the tests rely on.
Why it matters
A Content Security Policy tells the browser where a page may load files from, and which sites may show it in a frame. If an attacker gets a script onto the page, a good policy can stop it running or stop it sending data away. Without one, the browser trusts it all.
Security headers do not help rankings directly. But a hacked site loses rankings fast, and many crawl tools report missing headers.
How to check it
Fetch the page and read its response headers, with curl -I or the network panel in the browser’s developer tools. Crawl tools can report security headers for every page, and online header scanners grade them. Here, look for Content-Security-Policy in the response.
How to fix it
Add a Content-Security-Policy header. Start in report-only mode to see what would be blocked. Then tighten it until it lists only the sources the site needs. Even a short policy, such as frame-ancestors 'none', is better than none.