Arbitrary Code Injection Affecting tinacms package, versions <3.1.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.09% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-TINACMS-14535449
  • published19 Dec 2025
  • disclosed18 Dec 2025
  • creditCristian-Alexandru Staicu

Introduced: 18 Dec 2025

CVE-2025-68278  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade tinacms to version 3.1.1 or higher.

Overview

tinacms is a headless content management system with support for Markdown, MDX, JSON, YAML, and more.

Affected versions of this package are vulnerable to Arbitrary Code Injection via the improper use of gray-matter package. An attacker can execute arbitrary code on the server by submitting specially crafted markdown files containing malicious JavaScript in the front matter.

References

CVSS Base Scores

version 4.0
version 3.1