StraitOfVuln
Latest / CVE-2026-129947

CVE-2026-129947

HighCVSS 8.0 (v3.1)Received
CVE.org ↗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.

Details

CVE ID
CVE-2026-129947
Published / updated
16 Nov 2026, 15:17 UTC · last modified 18 Nov 2026, 15:17 UTC
Severity
HIGH
CVSS score
8.0 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H · Attack vector: Network
Affected vendor
contentlayerdev
Affected products
@contentlayer/core
Affected versions
@contentlayer/core: up to 0.3.4
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.34% probability of exploitation in the next 30 days · 29% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
disclosure@vulncheck.com