CPANSA-Plack-Middleware-CSP-2026-125729: Plack-Middleware-CSP vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-11-10T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-11-10T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 6.1 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
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.
Vulnerabilities
CVE-2026-125729
Vulnerability DescriptionPlack::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.
| Weakness | CWE-684 : Incorrect Provision of Specified Functionality |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Plack-Middleware-CSP less than 0.03 |
|
Fixed
- Plack-Middleware-CSP greater than or equal 0.03
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Plack-Middleware-CSP-2026-125729 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-plack-middleware-csp-2026-125729.json - https://github.com/pangyre/Plack-Middleware-CSP/issues/1 external
https://github.com/pangyre/Plack-Middleware-CSP/issues/1 - https://metacpan.org/release/ASHLEY/Plack-Middleware-CSP-0.03/source/CHANGES external
https://metacpan.org/release/ASHLEY/Plack-Middleware-CSP-0.03/source/CHANGES - http://www.openwall.com/lists/oss-security/2026/11/10/16 external
http://www.openwall.com/lists/oss-security/2026/11/10/16 - CVE-2026-125729 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-125729
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Tue Nov 10 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/