# CVE-2026-0969: Arbitrary code execution in React server-side rendering of untrusted MDX content

- Severity: High 8.8 (CVSS:3.1, scored by HashiCorp) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-02-12T01:35:06.231Z
- Modified: 2026-06-17T10:11:42.677Z
- Also known as: GHSA-g4xw-jxrg-5f6m
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: HashiCorp

## 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.

(As written by CVE List.)

## Affected

- HashiCorp Shared library: from 4.3.0 before 6.0.0
- next-mdx-remote (npm): from 4.3.0 before 6.0.0

## Every score

- HashiCorp: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-0969](https://www.cve.org/CVERecord?id=CVE-2026-0969), CVE Terms of Use, modified 2026-04-17
- GitHub Advisory Database: [GHSA-g4xw-jxrg-5f6m](https://github.com/advisories/GHSA-g4xw-jxrg-5f6m), CC-BY-4.0, modified 2026-02-24
- NVD: [CVE-2026-0969](https://nvd.nist.gov/vuln/detail/CVE-2026-0969), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-0969 · Whole record: https://cve.day/CVE-2026-0969.json · Rebuilt by cve.day 2026-11-25T22:59:13.812Z
