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 package | Versions | Reported by |
|---|---|---|
| HashiCorp Shared library | from 4.3.0 before 6.0.0 | CVE List |
| next-mdx-remote (npm) | from 4.3.0 before 6.0.0 | GitHub Advisory Database |
All scores
| HashiCorp | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-0969 changed 2026-04-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g4xw-jxrg-5f6m changed 2026-02-24 | CC-BY-4.0 |
| NVD | CVE-2026-0969 changed 2026-06-17 | Public domain |