Summary
generated automatically from NVD dataContentlayer's @contentlayer/core, through version 0.3.4, has a code injection flaw (CWE-94) in makeDataExportFile(). A content file whose name contains single quotes can break out of the generated import specifier and insert arbitrary JavaScript. That code runs when contentlayer dev or a Next.js dev server imports the generated module. The issue is rated HIGH with a CVSS v3.1 score of 8.0.
NVD description
Contentlayer @contentlayer/core through 0.3.4 contains a code injection vulnerability that allows attackers to inject JavaScript by embedding single quotes in content file names. Attackers can add a content file whose name breaks out of the import specifier in makeDataExportFile(), executing injected code when contentlayer dev or a Next.js dev server imports the generated module.
EPSS · FIRST.org
0.27%probability of exploitation in the next 30 days
Higher than 19% of scored CVEs
EPSS (Exploit Prediction Scoring System) estimates, from observed exploitation activity, how likely a CVE is to be exploited in the next 30 days. It complements CVSS, which measures severity, not likelihood. Score of 2026-11-19, recomputed daily by FIRST.org.
CVSS v3.1 Score
Information
- Published
- 16 nov. 2026
- Updated
- 18 nov. 2026
- Status
- Received
- Source
- disclosure@vulncheck.com
Weaknesses (CWE)
References (4)
Similar CVEs
Other vulnerabilities of type CWE-94
Know which CVEs hit the versions you run.
Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.