NetSight
high8.8

CVE-2026-0969

next-mdx-remote affected by arbitrary code execution in React server-side rendering of untrusted MDX content

Impact

The serialize function used to compile MDX in next-mdx-remote is vulnerable to arbitrary code execution due to insufficient sanitization of MDX content.

Affected packages

EcosystemPackageAffectedFixed in
npmnext-mdx-remote>= 4.3.0, < 6.0.06.0.0

Weakness classification

References