@tinacms/mdx code injection in MDX serialization
tinacms @tinacms/mdx
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tinacms @tinacms/mdx |
|
|
Original 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.
From the CVE record · VulnCheck