MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-129947

Contentlayer @contentlayer/core through 0.3.4 Code Injection via Generated _index.mjs

Not on CISA KEV
  • Overview

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. Attackers can add a content file whose name breaks out of the import specifier in makeDataExportFile(), executing

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • NVD This product uses the NVD API but is not endorsed or certified by the NVD.