CVE-2026-28445 Typebot: Stored XSS via Rating Block Custom Icon Bypasses isUnsafe Sandbox in Builder Preview
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| typebot.io @typebot.io/js(npm) | < 0.10.1 | 0.10.1 | Fixed |
| baptisteArno typebot.io | = < 3.16.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| baptisteArno typebot.io | = < 3.16.0 | No fix listed |
| typebot.io @typebot.io/js(npm) | < 0.10.1 | 0.10.1 |
References
- https://github.com/baptisteArno/typebot.io/security/advisories/GHSA-6m7c-xfhp-p9fh exploit vendor-advisory
- https://github.com/baptisteArno/typebot.io/commit/474ecbf46bc47a75265bada2599f12b2179de375 patch
- https://github.com/baptisteArno/typebot.io/releases/tag/v3.16.0
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com
- github.com product