~ / search / GHSA-g4xw-jxrg-5f6m

GHSA-g4xw-jxrg-5f6m

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

Source: GitHub Advisory Database (reviewed) High CVE-2026-0969

Packages

EcosystemPackageAffectedFixed in
npm next-mdx-remote >= 4.3.0, < 6.0.0 6.0.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

References

External links from the advisory. They lead to third-party sites.