CVE-2026-126774
High 8.8No known exploitationFix status unknownTitle not yet published
Record last updated
CVSS score
8.8
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
0.4%
Higher than 31% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
None
Not in the KEV catalog
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.
Weakness: CWE-94
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
No affected products documented yet.
Timeline
- No dated events documented yet.
Vendor guidance and references
- https://github.com/tinacms/tinacms/blob/%40tinacms/mdx%400.60.3/packages/%40tinacms/mdx/src/stringify/acorn.ts (opens in a new tab)
- https://github.com/tinacms/tinacms/commit/19285c6deeee52c380e8b2fdeafedc9530dc0618 (opens in a new tab)
- https://github.com/tinacms/tinacms/pull/7958 (opens in a new tab)
- https://github.com/tinacms/tinacms/releases/tag/%40tinacms/mdx%402.4.2 (opens in a new tab)
- https://github.com/tinacms/tinacms/security/advisories/GHSA-6vw5-w22x-ghxv (opens in a new tab)
- https://www.vulncheck.com/advisories/tinacms-mdx-before-2.4.2-code-injection-via-mdx-serializer-rich-text-values (opens in a new tab)