A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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 injected code when contentlayer dev or a Next.js dev server imports the generated module.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /contentlayerdev/contentlayer/blob/v0.3.4/packages/@content…
- github.com /contentlayerdev/contentlayer/blob/v0.3.4/packages/@content…
- github.com /contentlayerdev/contentlayer/issues/688
- www.vulncheck.com /advisories/contentlayer-contentlayer-core-through-0.3.4-co…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning