---
id: CVE-2025-68278
title: Tina is a headless content management system
summary: >-
  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, t…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
vendor: ssw
product: tinacms
affected:
  - tinacms < 3.1.1
  - tinacms/cli < 2.0.4
  - tinacms/graphql < 2.0.3
patched:
  - tinacms 3.1.1
  - tinacms/cli 2.0.4
  - tinacms/graphql 2.0.3
published: '2025-12-18'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T23:10:00.463'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68278'
references:
  - url: >-
      https://github.com/tinacms/tinacms/commit/fa7c27abef968e3f3a3e7d564f282bc566087569
    label: security-advisories@github.com
  - url: 'https://github.com/tinacms/tinacms/security/advisories/GHSA-529f-9qwm-9628'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00479
epssPercentile: 0.38756
ingestedAt: '2026-09-25T23:21:16.950Z'
---

## Overview

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.

## Affected

- `tinacms < 3.1.1`
- `tinacms/cli < 2.0.4`
- `tinacms/graphql < 2.0.3`

## Remediation

Upgrade past the affected range:

- `tinacms 3.1.1`
- `tinacms/cli 2.0.4`
- `tinacms/graphql 2.0.3`
