{"id":"CVE-2026-55660","published":"2026-07-01T21:00:27Z","modified":"2026-07-02T12:43:47Z","title":"TinaCMS: Cross-origin postMessage handlers and rich-text URL-sanitization bypass enable stored XSS and session takeover","vendor":"tinacms","product":"tinacms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00279,"percentile":0.12977,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-346","name":"Origin Validation Error"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"},{"id":"CWE-940","name":"Improper Verification of Source of a Communication Channel"}],"references":[{"url":"https://github.com/tinacms/tinacms/security/advisories/GHSA-g5qx-h5f3-mp2f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tinacms/tinacms/pull/7056","tags":["x_refsource_MISC"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":2.6},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"tinacms","affectedVersions":[{"vendor":"tinacms","product":"tinacms","versions":["< 3.9.3"]},{"vendor":"tinacms","product":"@tinacms/app","versions":["< 2.5.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-02T12:43:41.136950Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"tinacms","vulnerableRanges":["<3.9.3"],"patched":["3.9.3"],"from":["GHSA-g5qx-h5f3-mp2f"],"provenance":"source"},{"ecosystem":"npm","package":"@tinacms/app","vulnerableRanges":["<2.5.6"],"patched":["2.5.6"],"from":["GHSA-g5qx-h5f3-mp2f"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-41143","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-28791","published":"2026-03-12","fixed":"2.1.7","kev":false},{"cve":"CVE-2025-68278","published":"2025-12-18","fixed":"3.1.1","kev":false,"link":{"from":"CVE-2025-68278","to":"CVE-2026-55660","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tinacms","fromFixed":"3.1.1","toFixed":"3.9.3","daysApart":195}]}},{"cve":"CVE-2026-55660","published":"2026-07-01","fixed":"3.9.3","kev":false},{"cve":"CVE-2026-55661","published":"2026-07-01","fixed":"3.9.3","kev":false},{"cve":"CVE-2026-108261","published":"2026-10-09","fixed":"3.14.0","kev":false,"link":{"from":"CVE-2026-55660","to":"CVE-2026-108261","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tinacms","fromFixed":"3.9.3","toFixed":"3.14.0","daysApart":100},{"kind":"version-step","provenance":"source","package":"npm:@tinacms/app","fromFixed":"2.5.6","toFixed":"2.5.14","daysApart":100}]}}],"package":"npm:tinacms"}}