{"answers":{"affected":"2 open source packages ship an affected version, including @typebot.io/js.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-39964 exists.","fix":"Upgrade @typebot.io/js to 0.10.1 or later.","what":"CVE-2026-39964 is a medium-severity cross-site scripting vulnerability in baptisteArno typebot.io, published on 22 May 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-39964 and fix it if it is affected.\n\nWhat it is: CVE-2026-39964 is a medium-severity cross-site scripting vulnerability in baptisteArno typebot.io, published on 22 May 2026. Any signed-in user can exploit it over the network, 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-39964 exists.\n\nAffected packages and fixed versions:\n- @typebot.io/js (npm): affected all versions; fixed in 0.10.1\n- @typebot.io/js (npm): affected all versions; fixed in 0.10.1\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-39964/ (Markdown: https://insights.sbomify.com/CVE-2026-39964/index.md)","id":"CVE-2026-39964","markdown":"https://insights.sbomify.com/CVE-2026-39964/index.md","name":"CVE-2026-39964","record":{"aliases":["GHSA-hqmv-v56g-4m47"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Chatbot builder tool","requires_auth":"low_privilege","summary":"A bot author can inject JavaScript via javascript: URIs in text bubbles, executing code in visitors' browsers to steal session tokens.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"TypeBot is a chatbot builder tool. In versions prior to 3.16.0, the Typebot viewer (packages/embeds/js) renders anchor tags from rich text bubble content without filtering the javascript: URI scheme. A bot author can set a link URL to javascript:PAYLOAD, which executes in the visitor's browser context when clicked. Since the viewer is typically embedded in a third-party site, the attacker's JavaScript runs in the host page's origin and can exfiltrate cookies and session tokens. This can result in any authenticated Typebot user (including those on the free tier) being able to create a bot with this payload. Shared bots are publicly accessible — no victim authentication is required. This issue has been resolved in version 3.16.0.","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":"TypeBot: Stored XSS via javascript: URI in text bubble links — bot author executes JS on visitors' browsers","id":"CVE-2026-39964","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"TypeBot: SSRF via Open Redirect Bypass in HTTP Request and Code Blocks","id":"CVE-2026-39965"},"packages":[{"ecosystem":"npm","fixed":["0.10.1"],"introduced":["0"],"last_affected":[],"package":"@typebot.io/js","purl":null,"source":"GHSA-hqmv-v56g-4m47"},{"ecosystem":"npm","fixed":["0.10.1"],"introduced":["0"],"last_affected":[],"package":"@typebot.io/js","purl":"pkg:npm/%40typebot.io/js","source":"GHSA-hqmv-v56g-4m47"}],"prev":{"headline":"Serendipity: Host Header Injection enables authentication cookie scoping to an attacker-controlled domain","id":"CVE-2026-39963"},"products":["typebot.io"],"published":"2026-05-22","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":"partial"},"state":"PUBLISHED","updated":"2026-05-23","vendors":["baptisteArno"]},"summary":"A bot author can inject JavaScript via javascript: URIs in text bubbles, executing code in visitors' browsers to steal session tokens.","url":"https://insights.sbomify.com/CVE-2026-39964/"}