Server side template injection In next-mdx-remote

Description

next-mdx-remote affected by arbitrary code execution in React server-side rendering of untrusted MDX content The serialize function used to compile MDX in next-mdx-remote is vulnerable to arbitrary code execution due to insufficient sanitization of MDX content.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Package
Affected version
Patched versions