Contentlayer @contentlayer/core through 0.3.4 Code Injection via Generated _index.mjs
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| contentlayerdev | @contentlayer/core | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Contentlayerdev | Contentlayer |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.269% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Contentlayerdev
Contentlayerdev contentlayer |
|
| Vendors & Products |
Contentlayerdev
Contentlayerdev contentlayer |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Contentlayer @contentlayer/core through 0.3.4 Code Injection via Generated _index.mjs | |
| Weaknesses | CWE-94 | |
| References |
|
|
| Metrics |
cvssV3_1
|