{"id":"CVE-2026-0969","aliases":["CVE-2026-0969","GHSA-g4xw-jxrg-5f6m"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary code execution in React server-side rendering of untrusted MDX content","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-02-12T01:35:06.231Z","modified":"2026-06-17T10:11:42.677Z","severity":{"scorer":"HashiCorp","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"HashiCorp","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"4.3.0","fixed":"6.0.0","status":"affected"}],"vendor":"HashiCorp","product":"Shared library","repo":"https://github.com/hashicorp/next-mdx-remote","platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.3.0","status":"affected","fixed":"6.0.0"}],"ecosystem":"npm","package":"next-mdx-remote","purl":"pkg:npm/next-mdx-remote","source":"ghsa"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2026-01-arbitrary-code-execution-in-react-server-side-rendering-of-untrusted-mdx-content/77155","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0969","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/hashicorp/next-mdx-remote/commit/4d527fdcaed911b87f427d0b4d3c711e817fa4b3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/hashicorp/next-mdx-remote","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/hashicorp/next-mdx-remote/releases/tag/v6.0.0","tags":["web"],"sources":["ghsa"]}],"credits":["This issue was identified by researchers at Sejong University."],"assigner":"HashiCorp","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-02-12T15:34:59.477Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-0969","url":"https://www.cve.org/CVERecord?id=CVE-2026-0969","licence":"CVE Terms of Use","modified":"2026-04-17T17:57:55.801Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g4xw-jxrg-5f6m","url":"https://github.com/advisories/GHSA-g4xw-jxrg-5f6m","licence":"CC-BY-4.0","modified":"2026-02-24T16:26:22.107Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-0969","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0969","licence":"Public domain","modified":"2026-06-17T10:11:42.677Z"}],"updatedAt":"2026-11-25T22:59:13.812Z","epss":{"score":0.00638,"percentile":0.51922,"date":"2026-12-01T12:00:22.000Z"}}