CVE-2026-129948
Last modified
CVE-2026-129948 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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..
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| contentlayerdev | @contentlayer/source-files | <= 0.3.4 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-129948?
How severe is CVE-2026-129948?
How do I fix CVE-2026-129948?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-129942Prime CMS (@primecms/core) through 0.4.0-beta.0 contains a m…6.5
- CVE-2026-129943Prime CMS (@primecms/core) through 0.4.0-beta.0 contains an …7.2
- CVE-2026-129944Keystatic through 0.6.9 contains a path traversal vulnerabil…5.6
- CVE-2026-129945Keystatic through 0.6.9 contains a login cross-site request …4.3
- CVE-2026-129946Keystatic through 0.6.9 contains a stored cross-site scripti…5.4
- CVE-2026-129947Contentlayer @contentlayer/core through 0.3.4 contains a cod…8
- CVE-2026-129949Rowy through 3.0.0 contains a stored cross-site scripting vu…5.4
- CVE-2026-12995The Custom Field Template plugin for WordPress is vulnerable…4.3
- CVE-2026-129950Rowy through 3.0.0 contains an incorrect permission assignme…6.3
- CVE-2026-129951Rowy through 3.0.0 contains a stored cross-site scripting vu…5.4
- CVE-2026-129952NodePress through 8.5.1 contains an authentication bypass vu…9.8
- CVE-2026-129953NodePress through 8.5.1 contains a rate limit bypass vulnera…5.3
Are you affected by CVE-2026-129948?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
