CVE-2026-55660CWE-346CWE-601CWE-79CWE-940

TinaCMS: Cross-origin postMessage handlers and rich-text URL-sanitization bypass enable stored XSS and session takeover

High · published July 1, 2026

CVSS v4.0
7.6
EPSS
0%
Percentile
19.3
In the wild
Unconfirmed
What it is

Tina is a headless content management system. In versions prior to @tinacms/app 2.5.6 and tinacms 3.9.3, cross-origin postMessage handlers and a rich-text URL-sanitization bypass enable stored XSS and session takeover. The library 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, while insufficient URL sanitization in rich-text content allows malicious URLs to persist and execute. 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. This issue has been fixed in versions @tinacms/app 2.5.6 and tinacms 3.9.3.

The record
Technical detail
CVSS v4.0
7.6 · HIGH
Vector
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
EPSS
0.00279 · 19.3th percentile
Weaknesses
CWE-346 · Origin Validation Error; CWE-601 · URL Redirection to Untrusted Site ('Open Redirect'); CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'); CWE-940 · Improper Verification of Source of a Communication Channel
Published
2026-07-01T21:00Z
EPSS history
Timeline
  • 01 JUL 21:00Z
    TinaCMS: Cross-origin postMessage handlers and rich-text URL-sanitization bypass enable stored XSS and session takeover
    cvelistv5