IT SBIT Services
Schneeberger
DEEN
CVE tracker

TinaCMS @tinacms/mdx: Code injection via MDX serializer rich-text values

CVE-2026-126774High 8.8

← All vulnerabilities

Summary

The MDX serializer of the @tinacms/mdx package writes rich-text values into MDX expressions without escaping them. An authenticated content editor can save crafted values that break out of list field or highlightColor expressions in the stored .mdx file. The injected JavaScript can then run in visitors' browsers or on build and server-side rendering hosts.

Affected

  • @tinacms/mdx versions before 2.4.2 (affected range: 0 to before 2.4.2)

Fixed in

  • Fixed in @tinacms/mdx 2.4.2

Workaround

  • No vendor workaround known. Unknown.

Exploitation

  • Not known to be exploited in the wild.
  • No public exploit code indexed in Metasploit or Exploit-DB.

Our recommendation

  • Upgrade @tinacms/mdx to 2.4.2 or later, and review the whole Tina stack for updates.
  • Until the upgrade, limit content editor accounts to trusted users, especially contractors and agencies.
  • Review stored .mdx files for unexpected content before the next build.
  • Monitor build and deployment hosts for unusual activity.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 11 Nov 2026, 20:22.

Original description (NVD)

@tinacms/mdx before 2.4.2 contains a code injection vulnerability in its MDX serializer, which writes rich-text values into MDX expressions without escaping them. Authenticated content editors can save crafted values that break out of list field or highlightColor expressions in the stored .mdx file, executing JavaScript in visitors' browsers or on build and server-side rendering hosts.

NVD references (6)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.