CVE-2026-126774 @tinacms/mdx before 2.4.2 Code Injection via MDX Serializer Rich-Text Values
HighCVSS 8.8
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
@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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| tinacms @tinacms/mdx(npm) | < 2.4.2 | 2.4.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tinacms @tinacms/mdx(npm) | < 2.4.2 | 2.4.2 |
References
- GitHub Security Advisory (GHSA-6vw5-w22x-ghxv) vendor-advisory
- github.com issue-tracking patch
- github.com patch
- @tinacms/mdx %40tinacms Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: @tinacms/mdx before 2.4.2 Code Injection via MDX Serializer Rich-Text Values third-party-advisory
- ENISA EUVD EUVD-2026-123768 third-party-advisory