GHSA-gxcv-hr94-jjmjHighCVSS 8.0

Contentlayer @contentlayer/core through 0.3.4 contains a code injection vulnerability that allows...

Published
November 16, 2026
Last Modified
November 16, 2026

🔗 CVE IDs covered (1)

📋 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.

🔗 References (6)