GHSA-g4xw-jxrg-5f6m

Suggest an improvement
Source
https://github.com/advisories/GHSA-g4xw-jxrg-5f6m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-g4xw-jxrg-5f6m/GHSA-g4xw-jxrg-5f6m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g4xw-jxrg-5f6m
Aliases
  • CVE-2026-0969
Published
2026-02-12T03:31:01Z
Modified
2026-02-24T16:17:05.550216Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
next-mdx-remote affected by arbitrary code execution in React server-side rendering of untrusted MDX content
Details

The serialize function used to compile MDX in next-mdx-remote is vulnerable to arbitrary code execution due to insufficient sanitization of MDX content.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-02-24T14:20:55Z",
    "cwe_ids": [
        "CWE-94"
    ],
    "severity": "HIGH",
    "nvd_published_at": "2026-02-12T03:15:46Z"
}
References

Affected packages

npm / next-mdx-remote

Package

Affected ranges

Type
SEMVER
Events
Introduced
4.3.0
Fixed
6.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-g4xw-jxrg-5f6m/GHSA-g4xw-jxrg-5f6m.json"