NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

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

highCVSS 3.1 8.8GHSA-g4xw-jxrg-5f6m

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

Published Feb 12, 2026 · Updated Feb 24, 2026

Affected packages

next-mdx-remote

Ecosystem
npm
Affected
>= 4.3.0, < 6.0.0
Fixed in
6.0.0
Check
npm ls next-mdx-remote

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to dduzgun-security.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology