{"answers":{"affected":"4 open source packages ship an affected version, including @tinacms/mdx and tinacms.","exploited":"There is no known exploitation of CVE-2026-55661 in the wild and no public exploit code.","fix":"Upgrade @tinacms/mdx to 2.1.7 or later.","what":"CVE-2026-55661 is a medium-severity cross-site scripting vulnerability in @tinacms/mdx, published on 1 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-55661 and fix it if it is affected.\n\nWhat it is: CVE-2026-55661 is a medium-severity cross-site scripting vulnerability in @tinacms/mdx, published on 1 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-55661 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @tinacms/mdx (npm): affected all versions; fixed in 2.1.7\n- @tinacms/mdx (npm): affected all versions; fixed in 2.1.7\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-55661/ (Markdown: https://insights.sbomify.com/CVE-2026-55661/index.md)","id":"CVE-2026-55661","markdown":"https://insights.sbomify.com/CVE-2026-55661/index.md","name":"CVE-2026-55661","record":{"aliases":["GHSA-2vcc-5v34-9jc8"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"TinaCMS rich-text library","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts via unsanitized URLs in rich-text content, leading to stored XSS against editors and viewers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-87","name":"Improper Neutralization of Alternate XSS Syntax"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Tina is a headless content management system. In versions prior to @tinacms/mdx 2.1.7 and  tinacms 3.9.3,  rich-text parsing and the default link/image renderers did not sanitize the url field on Slate link/image nodes. Content containing javascript: or data:text/html URLs — including case-variant, whitespace-padded, and control-character-obfuscated forms — is rendered into href/src and executes when the content is viewed. Any actor able to author rich-text content (for example a lower-privileged editor, or imported/external content) can achieve stored XSS against editors and site viewers. This issue is fixed in versions @tinacms/mdx 2.1.7 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 rich-text (slatejson) rendering does not sanitize link/image URLs, allowing stored XSS via dangerous URL schemes","id":"CVE-2026-55661","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":4,"n_references":2,"next":{"headline":"mediasoup: SCTP state cookie lacks cryptographic authentication, enabling unauthorized association establishment (RFC 9260 violation)","id":"CVE-2026-55663"},"packages":[{"ecosystem":"npm","fixed":["2.1.7"],"introduced":["0"],"last_affected":[],"package":"@tinacms/mdx","purl":null,"source":"GHSA-2vcc-5v34-9jc8"},{"ecosystem":"npm","fixed":["2.1.7"],"introduced":["0"],"last_affected":[],"package":"@tinacms/mdx","purl":"pkg:npm/%40tinacms/mdx","source":"GHSA-2vcc-5v34-9jc8"},{"ecosystem":"npm","fixed":["3.9.3"],"introduced":["0"],"last_affected":[],"package":"tinacms","purl":null,"source":"GHSA-2vcc-5v34-9jc8"},{"ecosystem":"npm","fixed":["3.9.3"],"introduced":["0"],"last_affected":[],"package":"tinacms","purl":"pkg:npm/tinacms","source":"GHSA-2vcc-5v34-9jc8"}],"prev":{"headline":"TinaCMS: Cross-origin postMessage handlers and rich-text URL-sanitization bypass enable stored XSS and session takeover","id":"CVE-2026-55660"},"products":["@tinacms/mdx","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":"partial"},"state":"PUBLISHED","updated":"2026-07-06","vendors":["tinacms"]},"summary":"Attackers can inject malicious scripts via unsanitized URLs in rich-text content, leading to stored XSS against editors and viewers.","url":"https://insights.sbomify.com/CVE-2026-55661/"}