{"id":"CVE-2026-108261","state":"PUBLISHED","title":"TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment","description":"Tina is a headless content management system. Prior to tinacms 3.14.0 and @tinacms/app 2.5.14, the /~/* admin preview route in packages/tinacms/src/admin/index.tsx can turn an attacker-controlled hash-router splat into an off-origin iframe URL through packages/@tinacms/app/src/preview.tsx, while packages/@tinacms/app/src/lib/preview-origin.ts derives expectedOrigin from that same URL for the GraphQL message channel in packages/@tinacms/app/src/lib/graphql-reducer.ts. An unauthenticated attacker can send a crafted link to a signed-in editor, cause the admin to frame an attacker origin, and have that frame treated as the trusted preview. The attacker-controlled frame can submit GraphQL reads or mutations that the admin executes with the editor credentials, exposing or modifying protected content. This issue is fixed in tinacms 3.14.0 and @tinacms/app 2.5.14.","publishedAt":"2026-10-09T20:43:37.580Z","updatedAt":"2026-10-13T11:24:15.591Z","severity":{"score":9.3,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["tinacms tinacms","@tinacms app"],"affected":[{"vendor":"tinacms","product":"tinacms","versions":[{"version":"< 3.14.0","status":"affected"}]},{"vendor":"@tinacms","product":"app","versions":[{"version":"< 2.5.14","status":"affected"}]}],"references":["https://github.com/tinacms/tinacms/security/advisories/GHSA-x34j-47hf-4xg7","https://github.com/tinacms/tinacms/pull/7522","https://github.com/tinacms/tinacms/commit/b57dbf4b56201aef15cd92caa49fd12ab96bbecf","https://github.com/tinacms/tinacms/releases/tag/@tinacms/app@2.5.14","https://github.com/tinacms/tinacms/releases/tag/tinacms@3.14.0"],"weaknesses":["CWE-346","CWE-441","CWE-601"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/108xxx/CVE-2026-108261.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-108261","state":"PUBLISHED","datePublished":"2026-10-09T20:43:37.580Z","dateUpdated":"2026-10-13T11:24:15.591Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-09T17:33:15.410Z"},"containers":{"cna":{"title":"TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment","descriptions":[{"lang":"en","value":"Tina is a headless content management system. Prior to tinacms 3.14.0 and @tinacms/app 2.5.14, the /~/* admin preview route in packages/tinacms/src/admin/index.tsx can turn an attacker-controlled hash-router splat into an off-origin iframe URL through packages/@tinacms/app/src/preview.tsx, while packages/@tinacms/app/src/lib/preview-origin.ts derives expectedOrigin from that same URL for the GraphQL message channel in packages/@tinacms/app/src/lib/graphql-reducer.ts. An unauthenticated attacker can send a crafted link to a signed-in editor, cause the admin to frame an attacker origin, and have that frame treated as the trusted preview. The attacker-controlled frame can submit GraphQL reads or mutations that the admin executes with the editor credentials, exposing or modifying protected content. This issue is fixed in tinacms 3.14.0 and @tinacms/app 2.5.14."}],"affected":[{"vendor":"tinacms","product":"tinacms","versions":[{"version":"< 3.14.0","status":"affected"}]},{"vendor":"@tinacms","product":"app","versions":[{"version":"< 2.5.14","status":"affected"}]}],"references":[{"url":"https://github.com/tinacms/tinacms/security/advisories/GHSA-x34j-47hf-4xg7","name":"https://github.com/tinacms/tinacms/security/advisories/GHSA-x34j-47hf-4xg7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tinacms/tinacms/pull/7522","name":"https://github.com/tinacms/tinacms/pull/7522","tags":["x_refsource_MISC"]},{"url":"https://github.com/tinacms/tinacms/commit/b57dbf4b56201aef15cd92caa49fd12ab96bbecf","name":"https://github.com/tinacms/tinacms/commit/b57dbf4b56201aef15cd92caa49fd12ab96bbecf","tags":["x_refsource_MISC"]},{"url":"https://github.com/tinacms/tinacms/releases/tag/@tinacms/app@2.5.14","name":"https://github.com/tinacms/tinacms/releases/tag/@tinacms/app@2.5.14","tags":["x_refsource_MISC"]},{"url":"https://github.com/tinacms/tinacms/releases/tag/tinacms@3.14.0","name":"https://github.com/tinacms/tinacms/releases/tag/tinacms@3.14.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-346","lang":"en","description":"CWE-346: Origin Validation Error","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-441","lang":"en","description":"CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-601","lang":"en","description":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-09T20:43:37.580Z"},"source":{"advisory":"GHSA-x34j-47hf-4xg7","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/tinacms/tinacms/security/advisories/GHSA-x34j-47hf-4xg7","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-13T11:22:22.126132Z","id":"CVE-2026-108261","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-13T11:24:15.591Z"}}]}}}