CVE-2025-65098 Typebot Vulnerable to Credential Theft via Client-Side Script Execution and API Authorization Bypass
Attackers can steal user credentials via malicious script execution and API authorization bypass in Typebot chatbot builder.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-65098?
CVE-2025-65098 is a high-severity cross-site scripting vulnerability in baptisteArno typebot.io, published on 22 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Typebot is an open-source chatbot builder. In versions prior to 3.13.2, client-side script execution in Typebot allows stealing all stored credentials from any user. When a victim previews a malicious typebot by clicking "Run", JavaScript executes in their browser and exfiltrates their OpenAI keys, Google Sheets tokens, and SMTP passwords. The `/api/trpc/credentials.getCredentials` endpoint returns plaintext API keys without verifying credential ownership. Version 3.13.2 fixes the issue.
Weakness: CWE-862, CWE-79, CWE-639, CWE-522, CWE-311, CWE-284, CWE-200
Which versions are affected by CVE-2025-65098?
2 open source packages ship an affected version, including @typebot.io/js. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@typebot.io/js npm | All versions | 0.9.15 |
@typebot.io/js npm | All versions | 0.9.15 |
Products include Typebot Typebot.
How do I fix CVE-2025-65098?
Upgrade @typebot.io/js to 0.9.15 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-65098 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65098 exists.
Other vulnerabilities in baptisteArno typebot.io
- CVE-2025-64709 Typebot May Expose AWS EKS Credentials via Server Side Request Forgery in Webhook Block
- CVE-2024-30264 typebot.io: `GHSL-2024-040`
- CVE-2025-64706 Typebot IDOR Vulnerability: Unauthorized API Token Deletion and Exposure
- CVE-2021-24902 Typebot < 1.4.3 - Admin+ Stored Cross Site Scripting
Sources
Also known as GHSA-4xc5-wfwc-jw47.