Skip to content

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.

PackageAffectedFixed inStatus
tinacms @tinacms/mdx(npm) < 2.4.2 2.4.2 Fixed

Affected products

ProductAffected versionsFixed in
tinacms @tinacms/mdx(npm) < 2.4.2 2.4.2

References