A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      Digital Forensics, IRR & Breach Readiness
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-65098

CVE-2025-65098: Typebot Chatbot Builder XSS Vulnerability

CVE-2025-65098 is a cross-site scripting flaw in Typebot that enables credential theft through malicious chatbot previews. Attackers can exfiltrate OpenAI keys, Google Sheets tokens, and passwords. This article covers technical details, affected versions, impact, and mitigation steps.

Published: January 23, 2026

CVE-2025-65098 Overview

CVE-2025-65098 is a Cross-Site Scripting (XSS) vulnerability in Typebot, an open-source chatbot builder. In versions prior to 3.13.2, client-side script execution allows attackers to steal 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.

Critical Impact

Attackers can steal sensitive credentials including OpenAI API keys, Google Sheets tokens, and SMTP passwords from any Typebot user who previews a malicious chatbot.

Affected Products

  • Typebot versions prior to 3.13.2
  • Typebot open-source chatbot builder (self-hosted instances)
  • Typebot cloud instances running vulnerable versions

Discovery Timeline

  • 2026-01-22 - CVE CVE-2025-65098 published to NVD
  • 2026-01-22 - Last updated in NVD database

Technical Details for CVE-2025-65098

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Cross-Site Scripting). The flaw exists in how Typebot handles user-generated content within chatbot configurations. Malicious JavaScript can be embedded within a typebot's configuration, which then executes in the context of any user who previews that chatbot.

The core issue is twofold: first, insufficient sanitization of chatbot content allows script injection; second, the /api/trpc/credentials.getCredentials API endpoint lacks proper ownership verification, returning plaintext credentials to any authenticated user making the request. This combination allows an attacker to craft a malicious chatbot that, when previewed, executes JavaScript to call the vulnerable API endpoint and exfiltrate the victim's stored credentials.

Root Cause

The root cause stems from improper input validation and missing authorization checks. The application fails to sanitize user-controlled content that gets rendered in the browser during chatbot preview functionality. Additionally, the credentials API endpoint does not verify that the requesting user owns the credentials being returned, creating an Insecure Direct Object Reference (IDOR) condition that compounds the XSS vulnerability.

Attack Vector

The attack is network-based and requires user interaction. An attacker creates a malicious typebot containing embedded JavaScript payloads. When a victim clicks the "Run" button to preview this chatbot, the malicious script executes in their browser session. The script then makes authenticated API calls to /api/trpc/credentials.getCredentials to retrieve the victim's stored credentials, including OpenAI API keys, Google Sheets OAuth tokens, and SMTP passwords. These credentials are then exfiltrated to an attacker-controlled server.

The vulnerability requires the attacker to social engineer a victim into previewing the malicious chatbot, but once triggered, provides complete access to the victim's stored credentials without further interaction.

Detection Methods for CVE-2025-65098

Indicators of Compromise

  • Unexpected outbound network requests from the Typebot application to unknown domains
  • Unusual API calls to /api/trpc/credentials.getCredentials from client-side scripts
  • JavaScript payloads embedded within typebot configurations containing suspicious function calls (e.g., fetch, XMLHttpRequest, document.cookie)
  • Access logs showing credential retrieval requests followed by external data exfiltration

Detection Strategies

  • Monitor network traffic for outbound connections to suspicious domains originating from users' browser sessions while using Typebot
  • Implement Content Security Policy (CSP) headers to detect and block unauthorized script execution
  • Review typebot configurations for embedded script tags or event handlers that could execute malicious code
  • Audit API access logs for the /api/trpc/credentials.getCredentials endpoint to identify anomalous access patterns

Monitoring Recommendations

  • Deploy web application firewalls (WAF) with XSS detection rules to identify malicious payloads in typebot content
  • Enable verbose logging on the Typebot API server to track credential access requests
  • Implement alerting for bulk or rapid credential retrieval API calls that may indicate exploitation
  • Monitor for unauthorized use of stolen credentials (OpenAI API anomalies, Google Sheets access from unknown IPs, SMTP authentication failures)

How to Mitigate CVE-2025-65098

Immediate Actions Required

  • Upgrade Typebot to version 3.13.2 or later immediately
  • Rotate all stored credentials (OpenAI API keys, Google Sheets tokens, SMTP passwords) that may have been exposed
  • Review access logs for any signs of credential theft or unauthorized API access
  • Implement CSP headers as an additional defense layer while patching is in progress

Patch Information

The vulnerability is fixed in Typebot version 3.13.2. Users should upgrade to this version or later to remediate the issue. The patch addresses both the XSS vulnerability in chatbot preview functionality and adds proper ownership verification to the credentials API endpoint.

For detailed patch information, refer to the GitHub Security Advisory.

Workarounds

  • Restrict access to the Typebot instance to trusted users only until the patch can be applied
  • Implement strict Content Security Policy headers to prevent inline script execution and limit allowed script sources
  • Disable or restrict the chatbot preview functionality if possible until patching is complete
  • Use network segmentation to limit outbound connections from the Typebot application
bash
# Example CSP header configuration for nginx
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; connect-src 'self'; style-src 'self' 'unsafe-inline';" always;

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechTypebot

  • SeverityHIGH

  • CVSS Score7.4

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-3268: PSI Probe Auth Bypass Vulnerability

  • CVE-2026-3265: Free-CRM Auth Bypass Vulnerability

  • CVE-2026-3264: Free-CRM RCE Vulnerability

  • CVE-2026-28280: osctrl-admin Stored XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • English
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use