@tinacms/mdx before 2.4.2 contains a code injection vulnerability in its MDX serializer, which writes rich-text values
Source GCVE Database
Not known to be exploited · CVSS 8.8 High : upgrade to 2.4.2 soon.
Data as of 11 Nov 2026, 22:34 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.2 |
- Patch
- Available – fixed in 2.4.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.
What to do
Upgrade @tinacms/mdx to 2.4.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| tinacms@tinacms/mdx | Affected
| Fixed in
|
npm@tinacms/mdxpkg:npm/@tinacms/mdxOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to @tinacms/mdx version 2.4.2 or later, where this vulnerability is fixed. Since the vulnerability is in versions before 2.4.2, applying this official fix eliminates the risk. No other mitigation or temporary workaround is indicated.
Description
@tinacms/mdx versions before 2.4.2 have a code injection vulnerability in the MDX serializer. This flaw allows authenticated content editors to inject crafted values into MDX expressions without proper escaping, potentially leading to JavaScript execution in visitors' browsers or during build and server-side rendering.
References
- github.com/tinacms/tinacms/security/advisories/GHSA-6vw5-w22x-ghxv (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-126774 (opens in a new tab)
- github.com/tinacms/tinacms/pull/7958 (opens in a new tab)
- github.com/tinacms/tinacms/commit/19285c6deeee52c380e8b2fdeafedc9530dc0618 (opens in a new tab)
- github.com/tinacms/tinacms/blob/%40tinacms/mdx%400.60.3/packages/%40tinacms/mdx/src/stringify/acorn.ts (opens in a new tab)
- github.com/tinacms/tinacms/releases/tag/%40tinacms/mdx%402.4.2 (opens in a new tab)
- vulncheck.com/advisories/tinacms-mdx-before-2.4.2-code-injection-via-mdx-serializer-rich-text-values (opens in a new tab)