Skip to content

CVE-2026-0969 Arbitrary code execution in React server-side rendering of untrusted MDX content

HighCVSS 8.8 EPSS 0.64%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

The serialize function used to compile MDX in next-mdx-remote is vulnerable to arbitrary code execution due to insufficient sanitization of MDX content. This vulnerability, CVE-2026-0969, is fixed in next-mdx-remote 6.0.0.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
hashicorp Shared library >= 4.3.0, < 6.0.0 6.0.0 Fixed
npm next-mdx-remote(npm) >= 4.3.0, < 6.0.0 6.0.0 Fixed

Affected products

ProductAffected versionsFixed in
hashicorp Shared library >= 4.3.0, < 6.0.0 6.0.0
npm next-mdx-remote(npm) >= 4.3.0, < 6.0.0 6.0.0

References