CVE-2026-129948

published 16 Nov 2026 · updated 17 Nov 2026

Contentlayer @contentlayer/source-files through 0.3.4 Code Injection via JavaScript Frontmatter

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
contentlayerdev<=0.3.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-129948 severity on Zeptric[![CVE-2026-129948](https://zeptric.io/badge/cve/CVE-2026-129948.svg)](https://zeptric.io/cve/CVE-2026-129948)