PatchSiren cyber security CVE debrief
CVE-2026-129947 contentlayerdev CVE debrief
CVE-2026-129947 is a high-severity code injection vulnerability in Contentlayer @contentlayer/core through 0.3.4. The vulnerability allows attackers to inject JavaScript by embedding single quotes in content file names, potentially leading to code execution on development environments, data tampering, or unauthorized access. Developers and security teams must assess exposure, prioritize patching, and monitor for suspicious activity. Evidence is limited on actual exploitation or impact, requiring verification from official sources and careful review of affected versions and remediation status.
- Vendor
- contentlayerdev
- Product
- @contentlayer/core
- CVSS
- HIGH 8.6
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-16
- Original CVE updated
- 2026-11-18
- Advisory published
- 2026-11-16
- Advisory updated
- 2026-11-18
Who should care
Developers and security teams using Contentlayer @contentlayer/core versions up to 0.3.4 should assess exposure and prioritize patching. Inventory checks and monitoring for suspicious activity are recommended.
Why it matters
CVE-2026-129947 is a high-severity code injection vulnerability in Contentlayer @contentlayer/core through 0.3.4. Developers and security teams must assess exposure, prioritize patching, and monitor for suspicious activity. Evidence is limited on actual exploitation or impact, requiring verification from official sources.
- Potential code execution on development environments.
- Possible data tampering or unauthorized access.
- Required verification of affected versions and remediation status.
- Need for monitoring and incident response planning.
Technical summary
Contentlayer @contentlayer/core through 0.3.4 contains a code injection vulnerability that allows attackers to inject JavaScript by embedding single quotes in content file names. The vulnerability is triggered when contentlayer dev or a Next.js dev server imports the generated module, potentially leading to code execution on development environments or data tampering. Developers and security teams must assess exposure, prioritize patching, and monitor for suspicious activity. Evidence is limited on actual exploitation or impact, requiring verification from official sources.
Defensive priority
High priority for developers and security teams using Contentlayer @contentlayer/core versions up to 0.3.4.
Recommended defensive actions
- Developers and security teams should assess exposure and prioritize patching for Contentlayer @contentlayer/core versions up to 0.3.4.
- Inventory checks are necessary to identify potentially affected systems.
- Monitoring for suspicious activity related to Contentlayer @contentlayer/core is recommended.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The CVE record and NVD entry provide details on the code injection vulnerability in Contentlayer @contentlayer/core through 0.3.4. Limited information is available on actual exploitation or victim impact.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-129947 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-129947
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-129947 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-129947
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Contentlayer @contentlayer/core through 0.3.4 Code Injection via Generated _index.mjs
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/129xxx/CVE-2026-129947.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/contentlayerdev/contentlayer/issues/688
Supplemental source - issue-tracking
-
Source reference
Unverified legacy reference
URL: https://github.com/contentlayerdev/contentlayer/blob/v0.3.4/packages/@contentlayer/core/src/generation/generate-dotpkg.ts
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/contentlayer-contentlayer-core-through-0.3.4-code-injection-via-generated-index-mjs
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.