CVE-2026-78847
9.8 CRITICALpublic exploit availablePublished 2026-09-21 · Updated 2026-09-22
AI risk analysis
- Summary
- The flaw allows arbitrary code execution via the JavaScript engine parsing front matter when the language is set to js/javascript, posing a critical security risk.
- Exploitability
- Exploitation is relatively straightforward given the use of eval() in the affected version, requiring only the injection of malicious JavaScript code.
- Blast radius
- If exploited, this flaw could lead to full system compromise, as it allows for arbitrary code execution.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Disable the affected feature or upgrade to the latest version of gray-matter, specifically 4.0.4 or later.
rcejavascriptevalcode-execution
Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-95
Public exploit & PoC references
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-67195
- CRITICALCVE-2017-20241
- HIGHCVE-2026-100586PoC
- CRITICALCVE-2026-102316
- CRITICALCVE-2026-103110
- HIGHCVE-2026-17636
- CRITICALCVE-2026-18162
- CRITICALCVE-2026-18163
Related by shared AI tags and CWE weakness class. Browse the full archive.