CVE-2026-126774
@tinacms/mdx before 2.4.2 contains a code injection vulnerability …
@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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/tinacms/tinacms/blob/%40tinacms/mdx%400.60.3/packages/%40tinacms/mdx/src/string
- github.com/tinacms/tinacms/commit/19285c6deeee52c380e8b2fdeafedc9530dc0618
- github.com/tinacms/tinacms/pull/7958
- github.com/tinacms/tinacms/releases/tag/%40tinacms/mdx%402.4.2
- github.com/tinacms/tinacms/security/advisories/GHSA-6vw5-w22x-ghxv
- www.vulncheck.com/advisories/tinacms-mdx-before-2.4.2-code-injection-via-mdx-serializer-ri
- nvd.nist.gov/vuln/detail/CVE-2026-126774
- cve.org/CVERecord?id=CVE-2026-126774
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.