CVE-2026-125729
Plack::Middleware::CSP versions before 0.03 for Perl send the Content Security Policy under the wrong header name, so browsers never enforce it.
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected products
| Product | Affected versions |
|---|---|
| Plack::Middleware::CSP | before 0.03 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/pangyre/Plack-Middleware-CSP/issues/1
- https://metacpan.org/release/ASHLEY/Plack-Middleware-CSP-0.03/source/CHANGES
- https://github.com/advisories/GHSA-28cm-92qv-48w3
- https://nvd.nist.gov/vuln/detail/CVE-2026-125729
- http://www.openwall.com/lists/oss-security/2026/11/10/16