@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.
https://github.com/tinacms/tinacms/security/advisories/GHSA-6vw5-w22x-ghxv
https://github.com/tinacms/tinacms/releases/tag/%40tinacms/mdx%402.4.2
https://github.com/tinacms/tinacms/pull/7958
https://github.com/tinacms/tinacms/commit/19285c6deeee52c380e8b2fdeafedc9530dc0618
Published: 2026-11-11
Updated: 2026-11-16
Base Score: 6.6
Vector: CVSS2#AV:N/AC:H/Au:S/C:C/I:C/A:N
Severity: Medium
Base Score: 8.2
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Severity: High
Base Score: 8.8
Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Severity: High
EPSS: 0.00367