CVE-2026-39970

TypeBot: Stored Cross-Site Scripting (XSS) via SVG File Upload On Profile Picture Form

Published May 22, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
Description
TypeBot is a chatbot builder tool. Versions 3.15.2 and prior contain a critical stored XSS vulnerability in the app.typebot.io profile picture upload form. The application fails to sanitize or restrict SVG/XML-based uploads and directly renders them when accessed through the domain. By uploading a crafted malicious SVG file containing embedded JavaScript, an attacker will execute arbitrary JavaScript code. This vulnerability directly enables stored XSS exploitation because the payload is persistently stored on your infrastructure (app.typebot.io) and accessible from a public-facing, permanent link. Stored XSS via malicious SVG uploads to app.typebot.io allows attackers to execute arbitrary JavaScript in victims' browsers, enabling session/token theft, account takeover, and exfiltration of sensitive user data. This issue has been fixed in version 3.16.0.

Analysis

AI-generated

Technical impact

A malicious SVG file can be uploaded through the profile picture form and is stored without proper sanitization. The stored file is rendered publicly by the application, allowing the embedded JavaScript to run in any user’s browser that visits the link. This capability can lead to session or token theft, account takeover, and exfiltration of sensitive data.

Affected Systems

Versions 3.15.2 and earlier of TypeBot from baptisteArno/typebot.io are affected. The vulnerability is fixed in version 3.16.0.

Risk and Exploitability

The CVSS score of 8.5 indicates a high severity risk. No EPSS score is available, but the stored nature of the flaw makes exploitation likely for attackers who can upload files. The vulnerability is not listed in the CISA KEV catalog. Successful exploitation requires uploading a crafted SVG file through the profile picture interface, after which the payload remains permanently accessible via a public link.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade TypeBot to version 3.16.0 or later.
  • If an immediate upgrade is not possible, disable the profile picture upload feature or configure the server to reject .svg and XML files entirely.
  • Implement strict MIME type validation on the server and sanitize or remove SVG and XML content before storage to prevent similar XSS attacks.

Generated by OpenCVE AI on May 22, 2026 at 19:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Baptistearno
Baptistearno typebot.io
Vendors & Products Baptistearno
Baptistearno typebot.io
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description TypeBot is a chatbot builder tool. Versions 3.15.2 and prior contain a critical stored XSS vulnerability in the app.typebot.io profile picture upload form. The application fails to sanitize or restrict SVG/XML-based uploads and directly renders them when accessed through the domain. By uploading a crafted malicious SVG file containing embedded JavaScript, an attacker will execute arbitrary JavaScript code. This vulnerability directly enables stored XSS exploitation because the payload is persistently stored on your infrastructure (app.typebot.io) and accessible from a public-facing, permanent link. Stored XSS via malicious SVG uploads to app.typebot.io allows attackers to execute arbitrary JavaScript in victims' browsers, enabling session/token theft, account takeover, and exfiltration of sensitive user data. This issue has been fixed in version 3.16.0.
Title TypeBot: Stored Cross-Site Scripting (XSS) via SVG File Upload On Profile Picture Form
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 22, 2026, 8:09 PM
Reserved
Apr 8, 2026, 12:01 AM
Status
Deferred
Published
May 22, 2026, 7:17 PM
Modified
Jul 23, 2026, 4:10 PM