@tinacms/mdx before 2.4.2 Code Injection via MDX Serializer Rich-Text Values

State
Published
Severity
8.8 High
Published
Nov 11, 2026
Updated
Nov 16, 2026
Reserved
Nov 11, 2026

Read the record on cve.org

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.

ProductVersions
@tinacms/mdx tinacmsbefore 2.4.2 Affected2.4.2 Not Affected

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.