GHSA-hqmv-v56g-4m47: Typebot.io has stored XSS via `javascript`: URI in text bubble links — bot author executes JS on visitors' browsers
Summary
Typebot.io has a stored XSS (cross-site scripting, where malicious code is saved and runs when users view it) vulnerability in its chatbot viewer that allows bot creators to embed javascript: URIs in text links. When visitors click these links, the JavaScript executes in their browser with access to cookies and session tokens from the host website.
Solution / Mitigation
The source proposes filtering `javascript:` URIs before rendering anchor tags using this function: `const safeUrl = (url: string) => /^javascript:/i.test(url.trim()) ? '#' : url`, then use `<a href={safeUrl(elementDescendant.url as string)} ...>`. Alternatively, the source recommends using a URL allowlist that only permits `https:`, `http:`, `mailto:`, and `tel:` schemes.
Vulnerability Details
EPSS: 0.0%
Yes
May 26, 2026
Classification
Affected Vendors
Affected Packages
Original source: https://github.com/advisories/GHSA-hqmv-v56g-4m47
First tracked: May 26, 2026 at 02:00 PM
Classified by LLM (prompt v3) · confidence: 95%