{"id":"CVE-2026-28445","published":"2026-05-22T16:12:17Z","modified":"2026-05-22T17:52:34Z","title":"Typebot: Stored XSS via Rating Block Custom Icon Bypasses isUnsafe Sandbox in Builder Preview","vendor":"baptisteArno","product":"typebot.io","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00257,"percentile":0.1765,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/baptisteArno/typebot.io/security/advisories/GHSA-6m7c-xfhp-p9fh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/baptisteArno/typebot.io/commit/474ecbf46bc47a75265bada2599f12b2179de375","tags":["x_refsource_MISC"]},{"url":"https://github.com/baptisteArno/typebot.io/releases/tag/v3.16.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":3.53},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"baptistearno","affectedVersions":[{"vendor":"baptisteArno","product":"typebot.io","versions":["< 3.16.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-22T17:51:54.519643Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@typebot.io/js","vulnerableRanges":["<0.10.1"],"patched":["0.10.1"],"from":["GHSA-6m7c-xfhp-p9fh"],"provenance":"source"}],"summary":{"text":"Typebot (typebot.io) has a stored cross-site scripting flaw in the RatingButton component of its embed package, where the user-controlled customIcon.svg field is rendered via innerHTML without sanitization. An attacker who can get a crafted bot imported or shared into the builder, which requires a low-privilege account and user interaction to be exploited, can run arbitrary HTML and JavaScript in the builder's authenticated origin, bypassing the preview sandbox to hijack sessions and escalate privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:04Z"},"euvd":{"id":"EUVD-2026-31466","exploited":false,"provenance":"source"}}