Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app relying on vulnerable CSP middleware
-
ExploitAbuse pre-existing XSS in wrapped application
-
ExecutionBrowser ignores malformed CSP header
-
ImpactInjected script executes in victim browser
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incorrect provision of specified functionality
|
| Exploitation Conditions | Exploitation is only meaningful when ALL of the following hold: (1) the wrapped Plack application actually contains a cross-site scripting vulnerability, since this flaw does not create XSS but merely removes the CSP mitigation; (2) the deployment depends on Plack::Middleware::CSP (version before 0.03) to supply Content-Security-Policy as a protective control; and (3) a victim interacts with the malicious content (UI:R). Limiting factors: if the application has no XSS, or does not rely on CSP for defense, there is no exploitable impact; the flaw provides no direct confidentiality/integrity access on its own and requires victim browser interaction. The condition is the module emitting the policy under the header name 'content-security-protocol' instead of 'Content-Security-Policy'. |
| Impact | This is a medium-severity defense-in-depth failure, not a directly exploitable flaw. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N = 6.1) reflects the browser-side impact of an XSS that this middleware was supposed to mitigate, not a vulnerability the attacker triggers directly: the middleware emits the policy under the non-standard header 'content-security-protocol', so browsers silently ignore it and any pre-existing cross-site scripting bug in the wrapped application runs unimpeded. The decision signals are modest and mutually consistent: EPSS is 0.24% (15th percentile), there is no CISA KEV listing, and no public exploit code is referenced - only advisories and a bug-tracker issue. The vuln.today priority is 'this_month', i.e. routine patching rather than emergency. The key caveat is that the CVSS score is conditional: it assumes the wrapped application already contains an XSS flaw and that the operator is relying on this middleware's CSP as a control. With no such XSS, or no reliance on CSP, real-world impact is zero. The S:C (scope change) and C:L/I:L reflect script execution in the victim's browser context, which is standard for CSP-bypass/XSS, but the mitigation-only nature means raw CVSS overstates urgency for most deployments. |
| Exploit ScenarioDerived | An operator deploys a Plack-based Perl web application behind Plack::Middleware::CSP (before 0.03), believing the Content-Security-Policy header will block injected scripts. Because the policy is sent as 'content-security-protocol', the browser never enforces it, so an attacker who already has (or finds) a cross-site scripting vector in the wrapped application can deliver a crafted link or input that executes script in a victim's browser when they interact with the page (UI:R). No public exploit code is identified at time of analysis; exploitation depends on a separate XSS existing in the application. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Plack::Middleware::CSP before 0.03 disables the intended Content Security Policy protection by sending it under the misspelled header name 'content-security-protocol', which browsers ignore. This is a medium-severity defense-in-depth failure, not a directly exploitable flaw: it does not create cross-site scripting but removes a mitigation, so impact only materializes when the wrapped Plack application already contains an XSS flaw and a victim interacts with malicious content. EPSS is 0.24% (15th percentile), no public exploit identified at time of analysis, and the vendor released version 0.03 with the corrected header name.
RemediationAI
Upgrade to Plack::Middleware::CSP 0.03, the vendor-released patch that sends the policy under the correct 'Content-Security-Policy' header name, as documented in the changelog at https://metacpan.org/release/ASHLEY/Plack-Middleware-CSP-0.03/source/CHANGES. After upgrading, verify the response header with browser developer tools or curl and confirm there is no duplicate or conflicting CSP header. If upgrading is not immediately possible, disable this middleware and set the correct Content-Security-Policy header at the reverse proxy or application layer, and ensure the misspelled 'content-security-protocol' header is not also present; this compensating control requires testing because duplicate CSP headers can cause browsers to enforce an unintended policy, and it shifts policy maintenance outside the module. Review the upstream issue at https://github.com/pangyre/Plack-Middleware-CSP/issues/1 and the oss-security advisory at https://seclists.org/oss-sec/2026/q4/634 for additional details.
Affected ProductsAI
Plack::Middleware::CSP versions before 0.03 for Perl are affected, including any Plack application that relies on this middleware to supply Content-Security-Policy as a protective control; no CPE strings were provided in the input data. The fixed release is version 0.03, documented in the module changelog at https://metacpan.org/release/ASHLEY/Plack-Middleware-CSP-0.03/source/CHANGES, with the upstream issue at https://github.com/pangyre/Plack-Middleware-CSP/issues/1 and the oss-security advisory at https://seclists.org/oss-sec/2026/q4/634.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Plack::Middleware::CSP is a Perl Plack middleware intended to attach a Content-Security-Policy response header to applications it wraps. The root cause matches CWE-684 (Incorrect Provision of Specified Functionality): the middleware's call method emits the policy under 'content-security-protocol' rather than the standard 'Content-Security-Policy', so user agents do not recognize or enforce it. The assessed CVSS vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N, reflecting that exploitation depends on an independent XSS flaw in the wrapped application and on victim interaction; the defect itself provides no direct confidentiality or integrity access. No CPE identifiers were supplied; affected deployments are those using the module before version 0.03.
Know when Perl gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Impact only materializes if a separate XSS exists in the wrapped app, a condition outside the attacker's control, so AC:H; scope changes to the victim browser (S:C) with low C/I and no availability impact.
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand
Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before
The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of
Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated
Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid
Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa
Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS
The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha
Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers
EUVD-2026-121395
GHSA-28cm-92qv-48w3
NVD
CVE.org
EPSS
VulDB
Exploit-DB