Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure authenticated editor to crafted page
-
DeliveryOpen opener/iframe link to Tina admin
-
ExploitForge postMessage to unvalidated listeners
-
ExecutionObserve or forge OAuth popup token exchange
-
PersistHijack authenticated editing session
-
ImpactInject 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – 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)
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.
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
Affected Packages
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
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
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.
Primary rating from Vendor (https://github.com/tinacms/tinacms).
CVSS VectorVendor: https://github.com/tinacms/tinacms
Lifecycle Timeline
3DescriptionCVE.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
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.
Apply vendor patch (tinacms 3.9.3+, @tinacms/app 2.5.6+).
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-41143
GHSA-g5qx-h5f3-mp2f
NVD
CVE.org
EPSS
Exploit-DB