CVE-2025-68278 Details
Description
Tina is a headless content management system. In tinacms prior to version 3.1.1, tinacms uses the gray-matter package in an insecure way allowing attackers that can control the content of the processed markdown files, e.g., blog posts, to execute arbitrary code. tinacms version 3.1.1, @tinacms/cli version 2.0.4, and @tinacms/graphql version 2.0.3 contain a fix for the issue.
A vulnerability exists in Tina CMS versions prior to 3.1.1, as well as in @tinacms/cli versions prior to 2.0.4 and @tinacms/graphql versions prior to 2.0.3. The issue arises from Tina CMS using the gray-matter package in a way that allows attackers to execute arbitrary code. This exploitation can occur if an attacker can control the content of processed markdown files, such as blog posts. The gray-matter package, by default, executes JavaScript code in the front matter of markdown files. Tina CMS does not modify this behavior, leaving it vulnerable to code execution.
Users can upgrade to Tina CMS version 3.1.1, @tinacms/cli version 2.0.4, or @tinacms/graphql version 2.0.3 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ssw tinacms | < 3.1.1 |
CPE
Remediation
| |
| ssw tinacms/cli | < 2.0.4 |
CPE
Remediation
| |
| ssw tinacms/graphql | < 2.0.3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 6, 2026 | CVE Translated | [email protected] |
| Sep 25, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 10, 2026 | Initial Analysis | [email protected] |
| Dec 18, 2025 | New CVE Received | [email protected] |