{"id":"GHSA-g5qx-h5f3-mp2f","revision":"9c3086fe402649e88244f34877607d23","records":[{"revision":"9c3086fe402649e88244f34877607d23","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-g5qx-h5f3-mp2f","aliases":["CVE-2026-55660"],"title":"TinaCMS: Cross-origin postMessage handlers and rich-text URL-sanitization bypass enable stored XSS and session takeover","description":"TinaCMS 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. 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.\n\nFixed in [#7056](https://github.com/tinacms/tinacms/pull/7056) by allow-listing trusted origins and verifying event.source (isFromAdmin, isFromTrustedPreviewOrigin), and by posting only to explicit target origins (never \"*\").\n\nNote: the rich-text URL-sanitization issue previously bundled here has been split into its own advisory (GHSA-2vcc-5v34-9jc8) so each vulnerability can receive a distinct CVE.","state":0,"publishedAt":"2026-06-19T21:15:29+00:00","modifiedAt":"2026-09-10T03:50:49.4280183+00:00","affected":[{"ecosystem":"npm","name":"tinacms","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.9.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@tinacms/app","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.5.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/tinacms/tinacms/security/advisories/GHSA-g5qx-h5f3-mp2f","https://github.com/tinacms/tinacms/pull/7056","https://github.com/tinacms/tinacms"],"sourceUrl":"https://github.com/advisories/GHSA-g5qx-h5f3-mp2f","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-g5qx-h5f3-mp2f","identifiers":["GHSA-g5qx-h5f3-mp2f","CVE-2026-55660"]},"retained":false,"historicalAffected":[]}],"coverage":[]}