Home

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.

PUBLISHED Reserved 2026-01-14 | Published 2026-02-12 | Updated 2026-02-12 | Assigner HashiCorp




HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

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

Product status

Default status
unaffected

4.3.0 (semver) before 6.0.0
affected

References

discuss.hashicorp.com/...ring-of-untrusted-mdx-content/77155

cve.org (CVE-2026-0969)

nvd.nist.gov (CVE-2026-0969)

Download JSON