{"answers":{"affected":"4 open source packages ship an affected version, including @tinacms/app and tinacms.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-108261 exists.","fix":"Upgrade @tinacms/app to 2.5.14 or later.","what":"CVE-2026-108261 is a critical vulnerability in @tinacms app, published on 9 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-108261 and fix it if it is affected.\n\nWhat it is: CVE-2026-108261 is a critical vulnerability in @tinacms app, published on 9 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-108261 exists.\n\nAffected packages and fixed versions:\n- @tinacms/app (npm): affected all versions; fixed in 2.5.14\n- @tinacms/app (npm): affected all versions; fixed in 2.5.14\n- tinacms (npm): affected all versions; fixed in 3.14.0\n- tinacms (npm): affected all versions; fixed in 3.14.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-108261/ (Markdown: https://insights.sbomify.com/CVE-2026-108261/index.md)","id":"CVE-2026-108261","markdown":"https://insights.sbomify.com/CVE-2026-108261/index.md","name":"CVE-2026-108261","record":{"aliases":["GHSA-x34j-47hf-4xg7"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"TinaCMS headless CMS","requires_auth":"none","summary":"An attacker can trick an editor into loading a malicious iframe, allowing unauthorized GraphQL reads and mutations with editor credentials.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"},{"id":"CWE-441","name":"Unintended Proxy or Intermediary"},{"id":"CWE-346","name":"Origin Validation Error"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment","id":"CVE-2026-108261","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"open_redirect","year":"2026"},"n_packages":4,"n_references":5,"next":{"headline":"Astron Agent: Unsandboxed code-node leads to cross-tenant RCE","id":"CVE-2026-108263"},"packages":[{"ecosystem":"npm","fixed":["2.5.14"],"introduced":["0"],"last_affected":[],"package":"@tinacms/app","purl":null,"source":"GHSA-x34j-47hf-4xg7"},{"ecosystem":"npm","fixed":["2.5.14"],"introduced":["0"],"last_affected":[],"package":"@tinacms/app","purl":"pkg:npm/%40tinacms/app","source":"GHSA-x34j-47hf-4xg7"},{"ecosystem":"npm","fixed":["3.14.0"],"introduced":["0"],"last_affected":[],"package":"tinacms","purl":null,"source":"GHSA-x34j-47hf-4xg7"},{"ecosystem":"npm","fixed":["3.14.0"],"introduced":["0"],"last_affected":[],"package":"tinacms","purl":"pkg:npm/tinacms","source":"GHSA-x34j-47hf-4xg7"}],"prev":{"headline":"@tinacms/web-components: `tina-markdown` writes rich-text link URLs into `href` without scheme validation, allowing stored XSS","id":"CVE-2026-108260"},"products":["app","tinacms"],"published":"2026-10-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-13","vendors":["@tinacms","tinacms"]},"summary":"An attacker can trick an editor into loading a malicious iframe, allowing unauthorized GraphQL reads and mutations with editor credentials.","url":"https://insights.sbomify.com/CVE-2026-108261/"}