Arbitrary code execution via eval() in front matter parsing
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
No data.
No data.
No data available yet.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.596% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Arbitrary code execution via eval() in front matter parsing |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | gray-matter JavaScript Front Matter Evaluates User Input, Enabling Arbitrary Code Execution | |
| Weaknesses | CWE-94 |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-95 | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | gray-matter JavaScript Front Matter Evaluates User Input, Enabling Arbitrary Code Execution | |
| Weaknesses | CWE-94 |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | An issue in gray-matter All versions (verified on 4.0.3) allows the JavaScript engine in lib/engines.js using eval() to parse front matter when language is js/javascript.This allows arbitrary code execution. | |
| References |
|
No data.