{"id":"CVE-2026-0969","published":"2026-02-12T01:35:06Z","modified":"2026-04-17T17:57:55Z","title":"Arbitrary code execution in React server-side rendering of untrusted MDX content","vendor":"HashiCorp","product":"Shared library","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00638,"percentile":0.5154,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2026-01-arbitrary-code-execution-in-react-server-side-rendering-of-untrusted-mdx-content/77155","tags":[]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":10.31},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Shared library","versions":[">= 4.3.0, < 6.0.0"]}],"capec":[{"id":"CAPEC-242","name":"Code Injection"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-02-12T15:34:59.477052Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"next-mdx-remote","vulnerableRanges":[">=4.3.0, <6.0.0"],"patched":["6.0.0"],"from":["GHSA-g4xw-jxrg-5f6m"],"provenance":"source"}],"summary":{"text":"The flaw is an arbitrary code execution issue in the serialize function of the next-mdx-remote shared library, caused by insufficient sanitization of MDX content when it is compiled for React server-side rendering. An attacker who can get untrusted MDX content processed by that function can run code of their choosing, and the attack needs network reachability and low-privilege authentication, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:55:08Z"},"euvd":{"id":"EUVD-2026-7026","exploited":false,"provenance":"source"}}