# CVE-2026-78847: 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…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-21T00:00:00.000Z
- Modified: 2026-09-22T20:00:03.713Z
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/jonschlinkert/gray-matter/issues/182> (exploit)
- <https://github.com/jonschlinkert/gray-matter/issues/131>
- <https://github.com/jonschlinkert/gray-matter/issues/112>
- <https://blog.checo.cc/en/posts/Security/1>

## Sources

- CVE List: [CVE-2026-78847](https://www.cve.org/CVERecord?id=CVE-2026-78847), CVE Terms of Use, modified 2026-09-22
- NVD: [CVE-2026-78847](https://nvd.nist.gov/vuln/detail/CVE-2026-78847), Public domain, modified 2026-09-22

---

Page: https://cve.day/CVE-2026-78847 · Whole record: https://cve.day/CVE-2026-78847.json · Rebuilt by cve.day 2026-11-25T22:59:40.400Z
