CVE-2026-39964: baptisteArno TypeBot stored XSS in text bubble links

CVE-2026-39964 · Severity: medium · CVSS 5.4 · Published 2026-05-22

TypeBot is a chatbot builder tool used to create and embed interactive chat interfaces on websites. A security flaw allows malicious bot authors to embed hidden JavaScript code within chat bubbles. If a visitor clicks a link in the chatbot, the attacker's code can run in the visitor's browser, potentially stealing login session tokens or sensitive data from the website where the chatbot is hosted.

Technologies: @typebot.io/js (npm), Typebot. Vendors: npm, Typebot.

Quick answers

Is CVE-2026-39964 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-39964 being exploited in the wild.
How severe is CVE-2026-39964?
Medium severity, with a CVSS score of 5.4, published 22 May 2026.
Which products and versions are affected?
@typebot.io/js (npm) < 0.10.1, SEMVER:introduced=0,fixed=0.10.1; Typebot < 3.16.0; Typebot.io Js < 0.10.1.
Is there a fix for CVE-2026-39964?
Yes. @typebot.io/js (npm): upgrade to 0.10.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-39964 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-39964?
Check whether you run @typebot.io/js (npm), Typebot or Typebot.io Js at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • @typebot.io/js (npm): upgrade to 0.10.1 or later
    npm install @typebot.io/js@0.10.1

Technical details

A stored cross-site scripting (XSS) vulnerability exists in the Typebot viewer (packages/embeds/js) due to insufficient URI scheme filtering in rich text bubbles. The vulnerable components, specifically PlateBlock.tsx and ImageBubble.tsx, render anchor tags using the 'href' attribute directly from user-supplied content without neutralizing the 'javascript:' scheme. An authenticated attacker (including free-tier users) can create a bot containing a malicious payload. When a victim interacts with the resulting chatbot and clicks the link, the JavaScript executes within the context of the host page's origin. This allows for the exfiltration of cookies and session tokens. The issue is resolved in version 3.16.0 by implementing URI filtering.

Affected products

  • baptisteArno typebot.io < 3.16.0

Identifiers

  • CVE-2026-39964
  • GHSA-hqmv-v56g-4m47

Timeline

  • 2026-05-22: disclosed
  • 2026-05-22: advisory
  • 2026-04-08: patched: Release v3.16.0 published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.