CVE-2026-129948

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductContentlayerdev @contentlayer/source-files
PublishedNov 16, 2026
First seenNov 16, 2026
Weakness typeCWE-95CWE-95

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
contentlayerdev @contentlayer/source-filesv ≤ 0.3.4—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-129948 · Contentlayerdev @contentlayer/source-files · Dark Radar