What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: HashiCorp Shared library 6.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-0969 or the next vulnerability affects your stack