{"id":"CVE-2026-0969","summary":"Arbitrary code execution in React server-side rendering of untrusted MDX content","details":"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.","aliases":["GHSA-g4xw-jxrg-5f6m"],"modified":"2026-07-08T07:32:25.203257013Z","published":"2026-02-12T01:35:06.231Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0969.json","cwe_ids":["CWE-94"],"cna_assigner":"HashiCorp"},"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-01-arbitrary-code-execution-in-react-server-side-rendering-of-untrusted-mdx-content/77155"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0969.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0969"},{"type":"PACKAGE","url":"https://github.com/hashicorp/next-mdx-remote"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hashicorp/next-mdx-remote","events":[{"introduced":"82cfaad6f38d30a6d00eff1117dc7fd529d6628a"},{"fixed":"f9aed8ebf4e4396cc10849f295e74157835165ee"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"4.3.0"},{"fixed":"6.0.0"}]}}],"versions":["v5.0.0","v4.4.1","v4.4.0","v4.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-0969.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}