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.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 21 Sep 2026 22:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | gray-matter JavaScript Front Matter Evaluates User Input, Enabling Arbitrary Code Execution | |
| Weaknesses | CWE-94 |
Mon, 21 Sep 2026 21:45:00 +0000
| 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 |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2026-09-21T21:31:50.449Z
Reserved: 2026-08-25T00:00:00.000Z
Link: CVE-2026-78847
No data.
Status : Received
Published: 2026-09-21T22:16:58.863
Modified: 2026-09-21T22:16:58.863
Link: CVE-2026-78847
No data.
OpenCVE Enrichment
Updated: 2026-09-21T22:30:12Z
Weaknesses