CVE 8.7 HIGH

Typebot: Stored XSS via Rating Block Custom Icon Bypasses isUnsafe Sandbox in Builder Preview_CVE-2026-28445

8.7 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Description

Typebot is a chatbot builder tool. In versions 3.15.2 and prior, the RatingButton component in the embed package renders the user-controlled customIcon.svg field directly via Solid's innerHTML directive without any sanitization, even though DOMPurify is already a dependency and is used elsewhere in the codebase (e.g., StreamingBubble.tsx). Because rating blocks are not flagged as isUnsafe by the import sanitizer and the builder preview renders bots inline on the builder's own origin (builder.typebot.io) under a CSP permitting 'unsafe-inline', a malicious imported or collaborator-crafted typebot can execute arbitrary HTML/JS in the builder's authenticated context, bypassing the Web Worker sandbox that protects Script blocks during preview. This allows session hijacking and privilege escalation within the builder application. This issue has been fixed in version 3.16.0.

AI Analysis

Stored XSS vulnerability in Typebot's RatingButton component, allowing session hijacking and privilege escalation

Basic Information

ID CVE-2026-28445
Source GitHub_M
Published May 22, 2026 at 16:12

Affected Product

Vendor baptisteArno
Product typebot.io
Version < 3.16.0
Affected Versions baptisteArno typebot.io < 3.16.0

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor baptisteArno
Product typebot.io
Version 3.15.2 and prior

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.