Skip to content

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

MediumCVSS 6.1 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
cpan Plack-Middleware-CSP < 0.03 0.03 Fixed

Affected products

ProductAffected versionsFixed in
cpan Plack-Middleware-CSP < 0.03 0.03

References