Skip to content

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

HighCVSS 7.6 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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.

Upgrade path

4 packages: 2 fixed.

PackageAffectedFixed inStatus
npm tinacms(npm) < 3.9.3 3.9.3 Fixed
tinacms app(npm) < 2.5.6 2.5.6 Fixed
tinacms = < 3.9.3 No fix listed Versions listed
tinacms @tinacms/app = < 2.5.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
tinacms = < 3.9.3 No fix listed
tinacms @tinacms/app = < 2.5.6 No fix listed
npm tinacms(npm) < 3.9.3 3.9.3
tinacms app(npm) < 2.5.6 2.5.6

References