CVE-2026-0969
HIGH 8.8CVSS 3.1next-mdx-remote affected by arbitrary code execution in React server-side rendering of untrusted MDX content
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.
- Published
- 12 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security@hashicorp.com
- NVD status
- Deferred
- Weakness
- CWE-94
- Also known as
- GHSA-g4xw-jxrg-5f6m
- Sources
- NVDJSONOSV GHSA-g4xw-jxrg-5f6mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@hashicorp.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | next-mdx-remote | >= 4.3.0, < 6.0.0 | 6.0.0 |
References
- https://discuss.hashicorp.com/t/hcsec-2026-01-arbitrary-code-execution-in-react-server-side-rendering-of-untrusted-mdx-content/77155 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-0969 · ADVISORY
- https://github.com/hashicorp/next-mdx-remote/commit/4d527fdcaed911b87f427d0b4d3c711e817fa4b3 · WEB
- https://github.com/hashicorp/next-mdx-remote · PACKAGE
- https://github.com/hashicorp/next-mdx-remote/releases/tag/v6.0.0 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 12 Feb 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Feb 2026)