What it does
A route sets its own Content-Security-Policy to loosen something, while a site-wide policy still covers that path.
How it helps you
Security headers get read the way browsers read them, so a loosened rule does what you expect.
Tested against itself
16 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Security |
|---|---|
| Checks in this category | 119 |
| ISO/IEC 25010 | Security |
| OWASP ASVS | V3.4.1, V3.4.3, V3.4.6, V3.2.1, V3.4.4, V3.4.5, V4.1.1 |
| CWE | CWE-693 |
| Breaks caught | 16 |