MediumVulnerability
GHSA-hqmv-v56g-4m47: Typebot.io has stored XSS via `javascript`: URI in text bubble links — bot author executes JS on visitors' browsers
- Identifiers
- CVE-2026-39964GHSA-hqmv-v56g-4m47
- Published
- Record updated
- Affected
- @typebot.io/js < 0.10.1
- Fixed in
- 0.10.1
- released April 7, 2026, 49 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%
Summary
The Typebot viewer (packages/embeds/js) renders anchor tags from rich text bubble content without filtering the javascript: URI scheme. A bot author who sets a link URL to javascript:PAYLOAD gets that script run in a visitor's browser when the link is clicked, and because the viewer is usually embedded in third-party sites, the script runs in the host page's origin and can read cookies and session tokens. The flaw is in PlateBlock.tsx line 32, with the same issue in ImageBubble.tsx line 102 for image link wrapping.
Mitigation
Proposed fix: filter javascript: URIs before rendering anchor tags, for example by replacing them with '#' using a safeUrl helper, or use a URL allowlist permitting only https:, http:, mailto: and tel:.
Related items
- MediumCVE-2026-138033: mcp-video-analyzer server-side request forgery via video URL inputsSimilar attack · NVD/CVE Database
- MediumSwitzerland Confirms AI-Assisted Cyberattacks Breached Critical Infrastructure OperatorsSimilar attack · The Hacker News
- MediumCVE-2026-137668: ONNX ONNXMLTools cross site scripting in visualize_model via producer_nameSimilar attack · NVD/CVE Database
- MediumCVE-2026-137667: ONNX ONNXMLTools cross site scripting in Model VisualizationSimilar attack · NVD/CVE Database
- InfoEvaluating transformer based language model robustness under low rate training data poisoningSimilar attack · OpenAlex (peer-reviewed AI security)