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

- Severity: High 7.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-06-19T21:15:29.000Z
- Modified: 2026-09-10T03:50:49.428Z
- Also known as: GHSA-g5qx-h5f3-mp2f
- Weaknesses: CWE-79, CWE-346, CWE-601, CWE-940
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- tinacms tinacms: < 3.9.3
- tinacms @tinacms/app: < 2.5.6
- tinacms (npm): before 3.9.3
- @tinacms/app (npm): before 2.5.6

## Every score

- GitHub_M: CVSS:4.0 7.6 High `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`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/tinacms/tinacms/security/advisories/GHSA-g5qx-h5f3-mp2f> (web)
- <https://github.com/tinacms/tinacms/pull/7056> (web)
- <https://github.com/tinacms/tinacms> (package)

## Sources

- CVE List: [CVE-2026-55660](https://www.cve.org/CVERecord?id=CVE-2026-55660), CVE Terms of Use, modified 2026-07-02
- GitHub Advisory Database: [GHSA-g5qx-h5f3-mp2f](https://github.com/advisories/GHSA-g5qx-h5f3-mp2f), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-55660](https://nvd.nist.gov/vuln/detail/CVE-2026-55660), Public domain, modified 2026-07-02

---

Page: https://cve.day/CVE-2026-55660 · Whole record: https://cve.day/CVE-2026-55660.json · Rebuilt by cve.day 2026-11-25T22:59:26.961Z
