Tinacms @tinacms/mdx
@tinacms/mdx before 2.4.2 Code Injection via MDX Serializer Rich-Text Values
@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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-94
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
tinacms @tinacms/mdx
- < 2.4.2
Fixed in 2.4.2
Mitigation
Upgrade @tinacms/mdx to 2.4.2 or later.
References
- Vendor advisory github.com/tinacms/tinacms/security/advisories…
- Patch github.com/tinacms/tinacms/pull/7958
- Patch github.com/tinacms/tinacms/commit/19285c6deeee…
1 more
- Release notes github.com/tinacms/tinacms/releases/tag/%40tin…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.