CVE-2026-126774
Published:November 11, 2026
Updated:November 13, 2026
@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.
Affected Packages
https://github.com/tinacms/tinacms.git (GITHUB):
Affected version(s) >=@tinacms/mdx@0.60.3 <@tinacms/mdx@2.4.2 || >=@tinacms/mdx@1.0.0 <@tinacms/mdx@2.4.2 || >=@tinacms/mdx@2.0.0 <@tinacms/mdx@2.4.2Fix Suggestion:
Update to version @tinacms/mdx@2.4.2@tinacms/mdx (NPM):
Affected version(s) >=0.60.3 <2.4.2 || >=2.0.0 <2.4.2 || >=1.0.0 <2.4.2Fix Suggestion:
Update to version 2.4.2Related Resources (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Control of Generation of Code
EPSS
Base Score:
0.37