Critical · 9.3 Node.js & npm GHSA-x34j-47hf-4xg7 CVE-2026-108261
TinaCMS Admin Preview Flaw Lets Attackers Hijack Editor Sessions via Malicious Links (CVE-2026-108261)
A critical origin validation flaw in TinaCMS's admin preview feature allows an attacker to trick a signed-in editor into framing an attacker-controlled origin, which is then treated as trusted and can execute GraphQL reads/mutations with the editor's credentials. Fixed in tinacms 3.14.0 and @tinacms/app 2.5.14.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A vulnerability has been disclosed in TinaCMS, a headless content management system, affecting its admin preview functionality. The issue allows an attacker to send a crafted link to a signed-in editor that causes the admin interface to load and trust a malicious origin as if it were the legitimate preview frame, enabling unauthorized access to content via GraphQL. The issue has been assigned CVE-2026-108261 and carries a CVSS score of 9.3.
What Happened
A vulnerability was disclosed in TinaCMS affecting the admin preview route (/~/*). The route uses a hash-router splat from the URL that can be manipulated by an attacker to point the admin preview iframe at an attacker-controlled origin. The same URL is also used to derive the expected origin for a GraphQL message channel used by the preview feature, meaning the attacker-controlled frame is accepted as trusted by the admin interface.
Technical Cause
The root cause is an origin validation error (CWE-346). The admin preview feature derives the trusted origin for its GraphQL message channel from a URL fragment that is attacker-influenceable rather than from a fixed, verified value. As a result, an attacker-controlled origin can be loaded into the preview iframe and subsequently treated as legitimate by the GraphQL reducer logic that handles messages for the preview feature.
Why It Matters
Because the attacker-controlled frame is treated as a trusted preview origin, it can submit GraphQL read and write operations that the admin interface executes using the credentials of the signed-in editor. This can expose protected content to the attacker or allow unauthorized modification of content, without the attacker needing any account on the target system.
Who Is Affected
Organizations using TinaCMS with the admin preview feature are affected if they run a vulnerable version of the tinacms or @tinacms/app packages. Exploitation requires a signed-in editor to interact with a crafted link sent by the attacker, so editors with active admin sessions are the primary targets.
Affected Versions
The tinacms package is affected in versions up to and including 3.13.0, and is fixed in version 3.14.0. The @tinacms/app package is affected in versions up to and including 2.5.13, and is fixed in version 2.5.14.
Fixes and Mitigation
The vendor has released fixed versions that address the origin validation issue: tinacms 3.14.0 and @tinacms/app 2.5.14. Organizations should upgrade both packages to these versions or later to remediate the vulnerability.
Recommended Action
Upgrade tinacms to version 3.14.0 or later and @tinacms/app to version 2.5.14 or later as soon as possible. Until the update is applied, administrators should advise editors to be cautious of unsolicited links related to the admin preview interface, as exploitation relies on an editor interacting with a crafted link.
PatchBriefing score
9.3 / 10 · Critical
Official CVSS: 9.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
EPSS 0.0024 (9 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- tinacms ≥ 0 < 3.14.0
- vulnerable
- tinacms <= 3.13.0
- vulnerable
- ≥ 3.14.0
- patched
- @tinacms/app ≥ 0 < 2.5.14
- vulnerable
- @tinacms/app <= 2.5.13
- vulnerable
- ≥ 2.5.14
- patched
Reported fixes
The vendor has released fixed versions that address the origin validation issue: tinacms 3.14.0 and @tinacms/app 2.5.14. Organizations should upgrade both packages to these versions or later to remediate the vulnerability.
How this was built
4 source records were collected, matched and used to prepare the report above.
-
OSV.dev database
-
NVD (NIST) database
-
GitHub Advisory Database database
-
CVE.org database
Revision history
- Generated
- Generated
- Generated
- Published
- Generated