Plack::Middleware::CSP versions before 0.03 for Perl send the Content Security Policy under the wrong header name, so browsers never enforce it. The call method sets the policy in a response header named "content-security-protocol" instead of "Content-Security-Policy". Browsers ignore that header. Any cross-site scripting flaw in the wrapped application can run scripts the policy was meant to block.
- CVSS:
- 6.1 (nvd)
- Vector:
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS:
- 0.32% (percentile 25.7)
- CWE:
- CWE-684
- Published:
- Modified:
- First seen:
- NVD status:
- Deferred