CVE-2026-0969: Arbitrary code execution in React server-side rendering of untrusted MDX content
Vulnerability summary
CVE-2026-0969 is a high (CVSS 8.8) Improper Control of Generation of Code vulnerability in hashicorp shared library. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 52% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 12-02-2026PublishedVulnerability first disclosed.
- 17-04-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.64%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.65% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Hashicorp1 product
- shared library≥ 4.3.0, < 6.0.0
Npm1 product
- next-mdx-remote≥ 4.3.0, < 6.0.0
2 vendors · 2 products