How to Fix a Missing Content-Security-Policy Header Safely
A missing Content-Security-Policy header lets the browser run any script that reaches your page. Here is a five-step rollout, with copy-paste configs for nginx, Apache, Cloudflare and WordPress, that adds CSP without breaking your site.