Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-78847 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')CISA-ADP

Affected Products

ProductVersions
gray-matter
>= 4.0.0, < 4.0.4 (semver)

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • Upgrade: @11ty/gray-matter@2moderate effort
  • Workaround:low effort

    Override the built-in JavaScript engine by setting `matter.engines.javascript = { parse: () => ({}), stringify: () => '' };` before any `matter()` calls.

  • Mitigation:low effort

    Avoid parsing untrusted input by only parsing content you generate yourself or by taking the body only and not parsing front matter at all.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-78847
NVD Published Date:
Sep 21, 2026
NVD Last Modified:
Sep 22, 2026
Source:
[email protected]
CVE-2026-78847 Details - Not Deferred