CVE-2026-0969
next-mdx-remote affected by arbitrary code execution in React server-side rendering of untrusted MDX content
8.8
HIGH
CVSS 3.1
EPSS 0.05%
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.
How to fix CVE-2026-0969
To remediate CVE-2026-0969, upgrade the affected package to a fixed version below.
- npm/next-mdx-remote—upgrade to 6.0.0 or later
Is CVE-2026-0969 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 4.3.0, < 6.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (5)
- ADVISORYnvd.nist.gov/vuln/detail/CVE-2026-0969
- PATCHgithub.com/hashicorp/next-mdx-remote
- WEBdiscuss.hashicorp.com/t/hcsec-2026-01-arbitrary-code-execution-in-react-server-side-rendering-of-untrusted-mdx-content/77155
- WEBgithub.com/hashicorp/next-mdx-remote/commit/4d527fdcaed911b87f427d0b4d3c711e817fa4b3