StraitOfVuln
Latest / CVE-2026-129948

CVE-2026-129948

HighCVSS 8.8 (v3.1)Received
CVE.org ↗NVD ↗

Description

Contentlayer @contentlayer/source-files through 0.3.4 contains a code injection vulnerability that allows attackers who control content files to execute JavaScript by abusing gray-matter's still-enabled JavaScript engine in parseMarkdown(). Attackers can start a Markdown or MDX file with a ---js or ---javascript frontmatter delimiter to run code during build, exposing CI build secrets.

Details

CVE ID
CVE-2026-129948
Published / updated
16 Nov 2026, 15:17 UTC · last modified 17 Nov 2026, 17:18 UTC
Severity
HIGH
CVSS score
8.8 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · Attack vector: Network
Affected vendor
contentlayerdev
Affected products
@contentlayer/source-files
Affected versions
@contentlayer/source-files: 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.43% probability of exploitation in the next 30 days · 39% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
disclosure@vulncheck.com