gray-matter All · Eval Injection
Affects gray-matterSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 5 Nov 2026, 00:01 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmgray-matterpkg:npm/gray-matterOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until an official fix is available, avoid processing untrusted input with gray-matter when using JavaScript front matter parsing or disable the use of the JavaScript engine for front matter parsing if possible.
Description
A vulnerability in gray-matter affects all versions, including 4.0.3, where the JavaScript engine in lib/engines.js uses eval() to parse front matter when the language is set to js/javascript. This behavior allows arbitrary code execution.
References
- nvd.nist.gov/vuln/detail/CVE-2026-78847 (opens in a new tab)
- github.com/jonschlinkert/gray-matter/issues/112 (opens in a new tab)
- github.com/jonschlinkert/gray-matter/issues/131 (opens in a new tab)
- github.com/jonschlinkert/gray-matter/issues/182 (opens in a new tab)
- blog.checo.cc/en/posts/Security/1 (opens in a new tab)