For example script-src 'self' blocks inline scripts. It limits the damage of an XSS bug but does not replace escaping.
Content Security Policy
A response header that tells the browser which sources of scripts and other content a page may use.
For example script-src 'self' blocks inline scripts. It limits the damage of an XSS bug but does not replace escaping.