CVE-2026-0969
JSON

8.8high

Arbitrary code execution in React server-side rendering of untrusted MDX content

Severity
8.8high CVSS:3.1 by HashiCorp
Exploit likelihood
0.64% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
HashiCorp
Also known as
GHSA-g4xw-jxrg-5f6m

Description

The serialize function used to compile MDX in next-mdx-remote is vulnerable to arbitrary code execution due to insufficient sanitization of MDX content. This vulnerability, CVE-2026-0969, is fixed in next-mdx-remote 6.0.0.

Affected

Product or packageVersionsReported by
HashiCorp Shared libraryfrom 4.3.0 before 6.0.0CVE List
next-mdx-remote (npm)from 4.3.0 before 6.0.0GitHub Advisory Database

All scores

HashiCorp8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

The serialize function used to compile MDX in next-mdx-remote is vulnerable to arbitrary code execution due to insufficient sanitization of MDX content. This vulnerability, CVE-2026-0969, is fixed in next-mdx-remote 6.0.0.

GitHub Advisory Database

The serialize function used to compile MDX in next-mdx-remote is vulnerable to arbitrary code execution due to insufficient sanitization of MDX content.

NVD (es)

La función serialize utilizada para compilar MDX en next-mdx-remote es vulnerable a ejecución de código arbitrario debido a la sanitización insuficiente del contenido MDX. Esta vulnerabilidad, CVE-2026-0969, está corregida en next-mdx-remote 6.0.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-0969 changed 2026-04-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-g4xw-jxrg-5f6m changed 2026-02-24CC-BY-4.0
NVDCVE-2026-0969 changed 2026-06-17Public domain