{"id":"CVE-2026-0969","state":"PUBLISHED","title":"Arbitrary code execution in React server-side rendering of untrusted MDX content","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.","publishedAt":"2026-02-12T01:35:06.231Z","updatedAt":"2026-04-17T17:57:55.801Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"HashiCorp"},"assigner":"HashiCorp","products":["HashiCorp Shared library"],"affected":[{"vendor":"HashiCorp","product":"Shared library","defaultStatus":"unaffected","versions":[{"version":"4.3.0","status":"affected","lessThan":"6.0.0","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/next-mdx-remote"}],"references":["https://discuss.hashicorp.com/t/hcsec-2026-01-arbitrary-code-execution-in-react-server-side-rendering-of-untrusted-mdx-content/77155"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:10:13.529Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/0xxx/CVE-2026-0969.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-0969","state":"PUBLISHED","datePublished":"2026-02-12T01:35:06.231Z","dateUpdated":"2026-04-17T17:57:55.801Z","assignerShortName":"HashiCorp","assignerOrgId":"67fedba0-ff2e-4543-ba5b-aa93e87718cc","dateReserved":"2026-01-14T22:09:31.064Z"},"containers":{"cna":{"title":"Arbitrary code execution in React server-side rendering of untrusted MDX content","descriptions":[{"lang":"en","value":"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":[{"vendor":"HashiCorp","product":"Shared library","defaultStatus":"unaffected","versions":[{"version":"4.3.0","status":"affected","lessThan":"6.0.0","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/next-mdx-remote"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2026-01-arbitrary-code-execution-in-react-server-side-rendering-of-untrusted-mdx-content/77155"}],"metrics":[{"cvssV3_1":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code (Code Injection)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"HashiCorp","orgId":"67fedba0-ff2e-4543-ba5b-aa93e87718cc","dateUpdated":"2026-04-17T17:57:55.801Z"},"credits":[{"lang":"en","value":"This issue was identified by researchers at Sejong University."}],"impacts":[{"capecId":"CAPEC-242","descriptions":[{"lang":"en","value":"CAPEC-242: Code Injection"}]}],"source":{"advisory":"HCSEC-2026-01","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-12T15:34:59.477052Z","id":"CVE-2026-0969","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-12T15:35:09.139Z"}}]}}}