CVE-2026-129948

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.
Configurations

No configuration.

History

16 Nov 2026, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-16 15:17

Updated : 2026-11-17 17:18


NVD link : CVE-2026-129948

Mitre link : CVE-2026-129948

CVE.ORG link : CVE-2026-129948


JSON object : View

Products Affected

No product.

CWE
CWE-95

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')