npm / next-mdx-remote
next-mdx-remote
What changed in next-mdx-remote 5 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
1 breaking2 security2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initnext-mdx-remote 62 changes
Security 2
Controls how JS is interpreted during MDX compilation and defaults to true for security reasons.
next-mdx-remote affected by arbitrary code execution in React server-side rendering of untrusted MDX content
next-mdx-remote 53 changes
Breaking changes 1
Updated to MDX v3, changing the MDX version used by next-mdx-remote.
Fixes and other changes 2
Added support for React 19.
Fixed various TypeScript errors.