{"answers":{"affected":"4 open source packages ship an affected version, including @tinacms/app and tinacms.","exploited":"There is no known exploitation of CVE-2026-55660 in the wild and no public exploit code.","fix":"Upgrade @tinacms/app to 2.5.6 or later.","what":"CVE-2026-55660 is a high-severity cross-site scripting vulnerability in @tinacms/app, published on 1 Jul 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-55660 and fix it if it is affected.\n\nWhat it is: CVE-2026-55660 is a high-severity cross-site scripting vulnerability in @tinacms/app, published on 1 Jul 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: There is no known exploitation of CVE-2026-55660 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @tinacms/app (npm): affected all versions; fixed in 2.5.6\n- @tinacms/app (npm): affected all versions; fixed in 2.5.6\n- tinacms (npm): affected all versions; fixed in 3.9.3\n- tinacms (npm): affected all versions; fixed in 3.9.3\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-55660/ (Markdown: https://insights.sbomify.com/CVE-2026-55660/index.md)","id":"CVE-2026-55660","markdown":"https://insights.sbomify.com/CVE-2026-55660/index.md","name":"CVE-2026-55660","record":{"aliases":["GHSA-g5qx-h5f3-mp2f"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"TinaCMS headless CMS","requires_auth":"none","summary":"Attackers can exploit unverified postMessage handlers and URL sanitization flaws to inject scripts and hijack authenticated editing sessions in TinaCMS.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.6,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-940","name":"Improper Verification of Source of a Communication Channel"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"},{"id":"CWE-346","name":"Origin Validation Error"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"TinaCMS: Cross-origin postMessage handlers and rich-text URL-sanitization bypass enable stored XSS and session takeover","id":"CVE-2026-55660","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":4,"n_references":2,"next":{"headline":"TinaCMS rich-text (slatejson) rendering does not sanitize link/image URLs, allowing stored XSS via dangerous URL schemes","id":"CVE-2026-55661"},"packages":[{"ecosystem":"npm","fixed":["2.5.6"],"introduced":["0"],"last_affected":[],"package":"@tinacms/app","purl":null,"source":"GHSA-g5qx-h5f3-mp2f"},{"ecosystem":"npm","fixed":["2.5.6"],"introduced":["0"],"last_affected":[],"package":"@tinacms/app","purl":"pkg:npm/%40tinacms/app","source":"GHSA-g5qx-h5f3-mp2f"},{"ecosystem":"npm","fixed":["3.9.3"],"introduced":["0"],"last_affected":[],"package":"tinacms","purl":null,"source":"GHSA-g5qx-h5f3-mp2f"},{"ecosystem":"npm","fixed":["3.9.3"],"introduced":["0"],"last_affected":[],"package":"tinacms","purl":"pkg:npm/tinacms","source":"GHSA-g5qx-h5f3-mp2f"}],"prev":{"headline":"Grist: XSS through unsafe value interpolation in server-rendered pages","id":"CVE-2026-55659"},"products":["@tinacms/app","tinacms"],"published":"2026-07-01","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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-02","vendors":["tinacms"]},"summary":"Attackers can exploit unverified postMessage handlers and URL sanitization flaws to inject scripts and hijack authenticated editing sessions in TinaCMS.","url":"https://insights.sbomify.com/CVE-2026-55660/"}