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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.6
- **CVSS:** 7.6 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-79, CWE-346, CWE-601, CWE-940
- **Aliases:** GHSA-g5qx-h5f3-mp2f
- **Published:** 2026-06-19T21:15:29.000Z
- **Modified:** 2026-09-10T03:50:49.428Z

## Who should check

- Projects that depend on npm package tinacms (\< 3.9.3)
- Projects that depend on npm package @tinacms/app (\< 2.5.6)
- Anyone running tinacms \< 3.9.3
- Anyone running @tinacms/app \< 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.

## Affected and fixed versions

- npm `tinacms`: affected \< 3.9.3; fixed 3.9.3 (osv)
- npm `@tinacms/app`: affected \< 2.5.6; fixed 2.5.6 (osv)
- tinacms: \< 3.9.3 (cvelist)
- @tinacms/app: \< 2.5.6 (cvelist)

## Mitigation

- Upgrade tinacms to 3.9.3 or later.
- Upgrade @tinacms/app to 2.5.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55660. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55660.md
Affected: tinacms < 3.9.3; @tinacms/app < 2.5.6
Fixed in: 3.9.3, 2.5.6

Steps:
1. Search this machine and project for tinacms (npm), @tinacms/app (npm), tinacms, @tinacms/app: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55660 being exploited?

There is no confirmed exploitation: CVE-2026-55660 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-55660?

High: CVSS 7.6 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-55660?

tinacms \< 3.9.3; @tinacms/app \< 2.5.6.

### Is there a fix for CVE-2026-55660?

Yes. Fixed in 3.9.3, 2.5.6. Upgrade tinacms to 3.9.3 or later. Upgrade @tinacms/app to 2.5.6 or later.

### How do I check if I'm affected by CVE-2026-55660?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/tinacms/tinacms/security/advisories/GHSA-g5qx-h5f3-mp2f>
- patch: <https://github.com/tinacms/tinacms/pull/7056>
- other: <https://github.com/tinacms/tinacms>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55660>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-g5qx-h5f3-mp2f> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-55660> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55660>
