PatchSiren cyber security CVE debrief
CVE-2026-126774 tinacms CVE debrief
CVE-2026-126774 is a high-severity vulnerability in the @tinacms/mdx package before version 2.4.2. The vulnerability allows authenticated content editors to inject malicious code through the MDX serializer, which can lead to JavaScript execution in visitors' browsers or on build and server-side rendering hosts. This issue arises from the MDX serializer writing rich-text values into MDX expressions without proper escaping. Affected deployments should prioritize upgrading to version 2.4.2 or later and review their current usage of the @tinacms/mdx package.
- Vendor
- tinacms
- Product
- @tinacms/mdx
- CVSS
- HIGH 8.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-11
- Original CVE updated
- 2026-11-16
- Advisory published
- 2026-11-11
- Advisory updated
- 2026-11-16
Who should care
Defenders responsible for maintaining and securing applications that use the @tinacms/mdx package should assess their exposure and prioritize upgrading to version 2.4.2 or later. This includes operators, platform administrators, vulnerability management teams, and security teams who need to ensure that input validation and sanitization are properly implemented to prevent malicious code injection.
Why it matters
CVE-2026-126774 is a high-severity vulnerability in the @tinacms/mdx package that allows authenticated content editors to inject malicious code, potentially leading to JavaScript execution in visitors' browsers or on build and server-side rendering hosts. Defenders should prioritize upgrading to version 2.4.2 or later and review their current usage of the package.
- Execution of arbitrary JavaScript code in visitors' browsers
- Execution of arbitrary JavaScript code on build and server-side rendering hosts
- Potential for malicious content injection
- Need for input validation and sanitization
Technical summary
The @tinacms/mdx package before version 2.4.2 contains a code injection vulnerability in its MDX serializer. 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. This vulnerability is caused by the lack of proper escaping of rich-text values written into MDX expressions, allowing for malicious code injection. Defenders should prioritize upgrading to version 2.4.2 or later and review their current usage of the @tinacms/mdx package.
Defensive priority
Defenders should prioritize upgrading to version 2.4.2 or later and review their current usage of the @tinacms/mdx package.
Recommended defensive actions
- Upgrade to version 2.4.2 or later of the @tinacms/mdx package
- Review current usage of the @tinacms/mdx package and ensure proper input validation
- Monitor for potential exploitation attempts
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The vulnerability is caused by the MDX serializer writing rich-text values into MDX expressions without proper escaping, allowing authenticated content editors to inject malicious code. This issue was identified through analysis of the @tinacms/mdx package and review of relevant source references. Defenders should verify the affected scope and severity based on official advisories and CVE records.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-126774 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-126774
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-126774 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-126774
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/tinacms/tinacms/blob/%40tinacms/mdx%400.60.3/packages/%40tinacms/mdx/src/stringify/acorn.ts
-
Source reference
Unverified legacy reference
URL: https://github.com/tinacms/tinacms/commit/19285c6deeee52c380e8b2fdeafedc9530dc0618
-
Source reference
Unverified legacy reference
URL: https://github.com/tinacms/tinacms/pull/7958
-
Source reference
Unverified legacy reference
URL: https://github.com/tinacms/tinacms/releases/tag/%40tinacms/mdx%402.4.2
-
Source reference
Unverified legacy reference
URL: https://github.com/tinacms/tinacms/security/advisories/GHSA-6vw5-w22x-ghxv
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/tinacms-mdx-before-2.4.2-code-injection-via-mdx-serializer-rich-text-values
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.