next-mdx-remote affected by arbitrary code execution in React server-side rendering of untrusted MDX content
High severity
GitHub Reviewed
Published
Feb 12, 2026
to the GitHub Advisory Database
•
Updated Feb 24, 2026
Description
Published by the National Vulnerability Database
Feb 12, 2026
Published to the GitHub Advisory Database
Feb 12, 2026
Reviewed
Feb 24, 2026
Last updated
Feb 24, 2026
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