CVE Explorer
CVE-2026-0969
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"product":"Shared library","repo":"https://github.com/hashicorp/next-mdx-remote","vendor":"HashiCorp","versions":[{"lessThan":"6.0.0","status":"affected","version":"4.3.0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:b1d8aeb0dac544014053017c5514ecd6e6734bee698b34522080309e14bdd22f · sha256:ca94c16cf4956cb7… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"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"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b1d8aeb0dac544014053017c5514ecd6e6734bee698b34522080309e14bdd22f · sha256:ca94c16cf4956cb7… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code (Code Injection)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b1d8aeb0dac544014053017c5514ecd6e6734bee698b34522080309e14bdd22f · sha256:ca94c16cf4956cb7… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://discuss.hashicorp.com/t/hcsec-2026-01-arbitrary-code-execution-in-react-server-side-rendering-of-untrusted-mdx-content/77155"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b1d8aeb0dac544014053017c5514ecd6e6734bee698b34522080309e14bdd22f · sha256:ca94c16cf4956cb7… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.