tinacms vulnerable to arbitrary code execution
tinacms
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tinacms npm |
|
|
| @tinacms/cli npm |
|
|
| @tinacms/graphql npm |
|
tinacms
| Product | Affected | Fixed in |
|---|---|---|
| tinacms npm |
|
|
| @tinacms/cli npm |
|
|
| @tinacms/graphql npm |
|
|
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.
From the CVE record · GitHub_M
TinaCMS uses the gray-matter package insecurely when processing Markdown files. An attacker who can control the content of a processed Markdown file, such as a blog post, can execute arbitrary code. The input does not specify whether network access, authentication, or user interaction is required.
Check installations using tinacms before 3.1.1, @tinacms/cli before 2.0.4, or @tinacms/graphql before 2.0.3.