Skip to main content

TinaCMS CVE-2026-55660

| EUVDEUVD-2026-41143 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-06-19 https://github.com/tinacms/tinacms GHSA-g5qx-h5f3-mp2f
7.6
CVSS 4.0 · Vendor: https://github.com/tinacms/tinacms
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure authenticated editor to crafted page
  2. Delivery
    Open opener/iframe link to Tina admin
  3. Exploit
    Forge postMessage to unvalidated listeners
  4. Execution
    Observe or forge OAuth popup token exchange
  5. Persist
    Hijack authenticated editing session
  6. Impact
    Inject content or alter site

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a victim who is an authenticated TinaCMS editor be socially engineered into a window relationship with the Tina admin - specifically visiting an attacker-controlled page that is in an opener/iframe relationship with, or can post messages to, the live Tina admin or preview frame - targeting the three unvalidated window.postMessage listeners (useTina overlay handler, OAuth authentication popup handler, and admin↔preview iframe GraphQL reducer). The concrete prerequisites are: an active authenticated Tina editing session in the victim's browser, and victim interaction (passive, UI:P) such as opening the attacker's page or popup in that session. Limiting factors: the attacker needs the victim to already be logged into the admin, needs the cross-window/opener relationship to reach the listeners, and depends on the admin being loadable/reachable from the attacker context - so deployments that keep the admin off public URLs, forbid iframing, or isolate editor browsing are substantially harder to hit. It is not exploitable against unauthenticated visitors and does not compromise the server directly.

Impact

The signals are moderate and internally consistent rather than alarming. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P) shows a network-reachable, unauthenticated-from-the-attacker's-side flaw with high confidentiality and integrity impact (VC:H/VI:H) but no availability impact, gated by two real friction factors: AT:P (a specific attack requirement - the victim window must be in an opener/iframe/visit relationship with an active Tina admin) and UI:P (the victim editor must take some passive action such as visiting the attacker page while logged in). No CISA KEV listing and no POC were provided, so exploitation is theoretical at this time; EPSS was not supplied. The practical priority is elevated for anyone running the Tina admin because session takeover and content injection are plausible and a fix exists, but the reliance on a logged-in editor being socially engineered into the attacker's window makes this targeted rather than mass-exploitable. Note the CWE-79/XSS tag versus the postMessage-origin root cause is a classification mismatch worth flagging - defenders scanning only for classic reflected XSS may misjudge the real attack surface.

Exploit ScenarioDerived

An attacker sends a Tina editor a link to a crafted web page while that editor is logged into the Tina admin in another tab; the page opens or references the admin/preview window and posts forged messages that the unvalidated listeners accept, injecting preview content or interacting with the OAuth popup channel to capture or forge the authentication token and assume the editor's session. Because the OAuth popup replies with a wildcard target origin, the attacker's window can observe the token exchange, then use the hijacked session to modify site content. No public POC was provided, but the attack is straightforward for a skilled attacker given the missing origin checks; success depends on the victim being authenticated and taking the bait (AT:P/UI:P).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 01, 2026

Cross-window message spoofing in TinaCMS (npm tinacms and @tinacms/app) lets a malicious web page hijack an authenticated editing session because the useTina overlay handler, the OAuth authentication popup handler, and the admin↔preview iframe GraphQL reducer act on window.postMessage event.data without validating event.origin or event.source, and reply with wildcard target origins. An attacker who lures an authenticated Tina editor to a crafted page (or gains an opener/iframe relationship with the Tina admin) can forge messages to drive the editor, inject preview content, or observe and forge the OAuth popup channel to take over the session. There is no public exploit identified at time of analysis; a vendor patch is available in PR #7056 and the flaw carries a CVSS 4.0 base score of 7.6.

Earlier versions of this analysis (2)
v2 Jul 01, 2026 - 21:28 cvss changed CVSS 7.6

Cross-origin session takeover in TinaCMS (npm tinacms < 3.9.3 and @tinacms/app < 2.5.6) stems from three window.postMessage listeners - the useTina overlay handler, the OAuth popup handler, and the admin↔preview GraphQL reducer - that trust event.data without checking event.origin or event.source, while replies are posted to wildcard target origins. A malicious page the editor visits, or any window in an opener/iframe relationship with the Tina admin, can forge messages to drive the editor, inject preview content, or observe and forge the OAuth channel to hijack an authenticated editing session. No public exploit identified at time of analysis; the vendor GitHub advisory (GHSA-g5qx-h5f3-mp2f) documents the flaw and ships a fix, and no EPSS or CISA KEV signal accompanies it.

v1 Jun 19, 2026 - 23:33

Cross-origin postMessage abuse in TinaCMS (npm tinacms < 3.9.3 and @tinacms/app < 2.5.6) lets a malicious page that the victim editor visits - or any window in an opener/iframe relationship with a Tina admin - forge messages to the useTina overlay, OAuth popup, and admin↔preview GraphQL reducer to drive the editor, inject preview content, and hijack the OAuth channel for full editing-session takeover. No public exploit identified at time of analysis, and the issue is fixed by allow-listing trusted origins, validating event.source, and posting only to explicit target origins in PR #7056.

RemediationAI

Upgrade tinacms and @tinacms/app to the patched release that includes GitHub PR #7056, which allow-lists trusted origins, verifies event.source via isFromAdmin and isFromTrustedPreviewOrigin, and posts only to explicit target origins instead of '*'; consult the vendor advisory GHSA-g5qx-h5f3-mp2f (https://github.com/tinacms/tinacms/security/advisories/GHSA-g5qx-h5f3-mp2f) and PR https://github.com/tinacms/tinacms/pull/7056 for the exact fixed version. An exact patched version number was not provided in the input, so confirm it against the advisory before deploying - do not assume a version. Until upgrade, reduce exposure by restricting who can reach the Tina admin (serve it only to authenticated editors behind SSO/VPN rather than on a public URL), instructing editors not to browse untrusted sites in the same browser session where the admin is open, and adding a strict Content-Security-Policy frame-ancestors directive plus X-Frame-Options to prevent the admin from being embedded as an iframe by attacker pages; these controls narrow the opener/iframe attack surface but do not stop a maliciously crafted popup/opener relationship, so they are stopgaps, not substitutes for the patch.

Affected VersionsENISA

tinacms < 3.9.3
@tinacms/app < 2.5.6

Affected Packages

npm @tinacms/app fix: 2.5.6
npm tinacms fix: 3.9.3
euvd tinacms_app fix: 2.5.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the browser messaging layer that TinaCMS uses to coordinate its editing UI. TinaCMS is a Git-backed headless CMS whose admin app communicates across window boundaries using the HTML5 window.postMessage API: the useTina hook receives overlay/edit events, the OAuth login flow uses a popup that posts credentials/tokens back to the opener, and the admin frame exchanges GraphQL requests/responses with an embedded preview iframe. Secure use of postMessage requires the receiver to check event.origin (and often event.source) and the sender to specify an exact targetOrigin rather than '*'. Here none of the three listeners verified origin or source, and outgoing messages used non-specific target origins, so any window that can reach these listeners can inject or intercept data. Although tagged CWE-79 (Cross-site Scripting) and labeled XSS, the true root cause is missing origin/authentication of cross-document messages (closer to CWE-345/CWE-346 improper origin validation); the XSS framing reflects that injected preview content can carry script-bearing payloads into the editor context.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/tinacms/tinacms) PRIMARY 7.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

Network-delivered but requires a logged-in editor plus an opener/iframe relationship and victim interaction, so AC:H and UI:R; attacker needs no prior auth (PR:N); high confidentiality/integrity via session takeover and content injection, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/tinacms/tinacms).

CVSS VectorVendor: https://github.com/tinacms/tinacms

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jul 01, 2026 - 21:29 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 01, 2026 - 21:28 vuln.today
v2 - CVSS changed
CVSS changed
Jul 01, 2026 - 21:22 NVD
7.6 (HIGH)

DescriptionCVE.org

TinaCMS registers window message listeners - the useTina overlay handler, the OAuth authentication popup handler, and the admin↔preview iframe GraphQL reducer - that act on event.data without verifying event.origin or event.source, and post messages using non-specific target origins. A page the victim visits (or a window in an opener/iframe relationship with a Tina admin) can forge messages to drive the editor, inject preview content, or observe/forge the OAuth popup channel to take over an authenticated editing session.

Fixed in #7056 by allow-listing trusted origins and verifying event.source (isFromAdmin, isFromTrustedPreviewOrigin), and by posting only to explicit target origins (never "*").

Note: the rich-text URL-sanitization issue previously bundled here has been split into its own advisory (GHSA-2vcc-5v34-9jc8) so each vulnerability can receive a distinct CVE.

Executive ViewAI

Why It Matters

TinaCMS editors are vulnerable to session hijacking through cross-window message spoofing, allowing attackers to impersonate authenticated editors and modify content if they trick users into visiting a malicious page. The attack exploits missing origin validation in the platform's messaging layer and can capture or forge OAuth authentication channels. Organizations using TinaCMS face risks of unauthorized content modifications and editorial account takeover.

Business Impact: High
Compensating Controls

Apply vendor patch (tinacms 3.9.3+, @tinacms/app 2.5.6+).

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche Git-backed headless CMS used mainly by Jamstack developers
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy