@tinacms/mdx before 2.4.2 Code Injection via MDX Serializer Rich-Text Values
- CVE-2026-126774
- GHSA-8rw5-7g6c-cvqx
- EUVD-2026-123768
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.
Text from the CVE.org record.
Recommendation
tinacms @tinacms/mdx
- If you run a version before 2.4.2update to 2.4.2 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
tinacms @tinacms/mdx
Affected versions Fixed in before 2.4.2 2.4.2
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.