CVE-2026-0969
The serialize function used to compile MDX in next-mdx-remote is …
The serialize function used to compile MDX in next-mdx-remote is vulnerable to arbitrary code execution due to insufficient sanitization of MDX content.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- discuss.hashicorp.com/t/hcsec-2026-01-arbitrary-code-execution-in-react-server-side-render
- nvd.nist.gov/vuln/detail/CVE-2026-0969
- github.com/hashicorp/next-mdx-remote/commit/4d527fdcaed911b87f427d0b4d3c711e817fa4b3
- github.com/hashicorp/next-mdx-remote/releases/tag/v6.0.0
- github.com/advisories/GHSA-g4xw-jxrg-5f6m
- nvd.nist.gov/vuln/detail/CVE-2026-0969
- cve.org/CVERecord?id=CVE-2026-0969
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.