CVE-2025-65098 Typebot Vulnerable to Credential Theft via Client-Side Script Execution and API Authorization Bypass

High 7.4 Published Updated

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.

PackageAffectedFixed in
@typebot.io/js npmAll versions0.9.15
@typebot.io/js npmAll versions0.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.

Sources

Also known as GHSA-4xc5-wfwc-jw47.

Is CVE-2025-65098 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free