CVE-2026-0969

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

State
Published
Severity
8.8 High
Published
Feb 12, 2026
Updated
Apr 17, 2026
Reserved
Jan 14, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHashiCorp

Weaknesses

  • CWE-94 Improper Control of Generation of Code (Code Injection)

Affected Products

ProductVersions
Shared libraryHashiCorp
  • 4.3.0 to before 6.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.