Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • 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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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
      DFIR, Breach Readiness, & Compromise Assessments
    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
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • 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-58357

CVE-2025-58357: 5ire Desktop AI Assistant XSS Vulnerability

CVE-2025-58357 is a cross-site scripting flaw in 5ire desktop AI assistant that enables content injection attacks via malicious prompts and MCP servers. This article covers technical details, affected versions, and mitigation.

Published: March 25, 2026

CVE-2025-58357 Overview

CVE-2025-58357 is a critical Cross-Site Scripting (XSS) vulnerability affecting 5ire, a cross-platform desktop artificial intelligence assistant and model context protocol (MCP) client. Version 0.13.2 contains a vulnerability in the chat page's script gadgets that enables content injection attacks through multiple vectors including malicious prompt injection pages, compromised MCP servers, and exploited tool integrations.

Critical Impact

This vulnerability allows attackers to inject malicious content through the AI assistant's chat interface, potentially leading to arbitrary code execution within the desktop application context, data exfiltration, and compromise of user sessions.

Affected Products

  • 5ire version 0.13.2
  • 5ire Desktop AI Assistant (cross-platform)
  • Systems using 5ire MCP client integrations

Discovery Timeline

  • 2025-09-04 - CVE-2025-58357 published to NVD
  • 2026-01-22 - Last updated in NVD database

Technical Details for CVE-2025-58357

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting (XSS). The flaw exists in the chat page's script gadgets within the 5ire desktop application, which fails to properly sanitize and validate content before rendering it in the user interface.

The attack surface is particularly concerning due to the nature of AI assistant applications, which inherently process and display untrusted content from multiple sources. In this case, three distinct attack vectors have been identified: malicious prompt injection pages that can embed payloads in AI responses, compromised MCP (Model Context Protocol) servers that can inject malicious content during protocol communications, and exploited tool integrations that can deliver payloads through the application's extensibility features.

The network-based attack vector with low complexity indicates that exploitation can be achieved remotely with minimal technical sophistication. The requirement for user interaction suggests that social engineering or crafted content delivery plays a role in successful exploitation. The scope change characteristic indicates that successful exploitation can impact resources beyond the vulnerable component's security scope.

Root Cause

The root cause of CVE-2025-58357 lies in insufficient input validation and output encoding within the 5ire chat page's script gadget handling mechanism. The application fails to properly sanitize content received from external sources before rendering it in the Electron-based desktop interface, allowing malicious scripts to execute within the application context.

Desktop AI assistants present unique security challenges as they must process diverse content types from AI models, external tools, and user inputs while maintaining security boundaries. The vulnerable version does not adequately enforce these boundaries when handling script gadgets in the chat interface.

Attack Vector

The vulnerability can be exploited through three primary vectors:

Malicious Prompt Injection Pages: An attacker can craft web pages or documents containing prompt injection payloads that, when processed by the AI assistant, result in malicious content being rendered in the chat interface with embedded scripts.

Compromised MCP Servers: The Model Context Protocol facilitates communication between the AI assistant and external servers. A compromised or malicious MCP server can inject payloads during protocol exchanges that are subsequently rendered without proper sanitization.

Exploited Tool Integrations: 5ire supports various tool integrations to extend functionality. Malicious or compromised tools can leverage this integration pathway to inject content that executes within the application's security context.

The vulnerability exploitation does not require authentication, making it accessible to remote attackers who can deliver crafted content through any of these channels.

Detection Methods for CVE-2025-58357

Indicators of Compromise

  • Unexpected script execution or JavaScript errors within the 5ire application logs
  • Unusual network connections initiated from the 5ire process to unknown external domains
  • Modifications to application configuration files or user data stores
  • Suspicious MCP server connections or tool integration activities in application telemetry

Detection Strategies

  • Monitor for anomalous behavior in 5ire application processes, including unexpected child process spawning or network activity
  • Implement application-level logging to capture chat page content rendering events and script gadget executions
  • Review MCP server configurations and audit tool integrations for unauthorized modifications
  • Deploy endpoint detection solutions to identify XSS-related patterns in desktop application contexts

Monitoring Recommendations

  • Enable verbose logging in 5ire to capture detailed information about content rendering and script execution
  • Configure network monitoring to alert on unexpected outbound connections from the 5ire application
  • Implement file integrity monitoring for 5ire configuration and data directories
  • Regularly audit connected MCP servers and installed tool integrations

How to Mitigate CVE-2025-58357

Immediate Actions Required

  • Upgrade 5ire to version 0.14.0 or later immediately to address this vulnerability
  • Review and audit all configured MCP server connections, removing any untrusted or unnecessary connections
  • Disable or remove tool integrations that are not actively required until the upgrade is complete
  • Avoid processing untrusted content or visiting potentially malicious prompt injection pages until patched

Patch Information

The vulnerability is fixed in 5ire version 0.14.0. Users should upgrade immediately by downloading the latest release from the official GitHub releases page. The security advisory with full details is available via the GitHub Security Advisory GHSA-8527-3cch-95gf.

Workarounds

  • Restrict usage of 5ire to trusted content sources only until the upgrade can be applied
  • Disconnect from all MCP servers temporarily if immediate patching is not possible
  • Disable all third-party tool integrations until upgrading to the patched version
  • Consider using network segmentation to limit the impact of potential exploitation
bash
# Upgrade 5ire to patched version
# Download latest release from GitHub
# https://github.com/nanbingxyz/5ire/releases/tag/v0.14.0

# Verify installed version after upgrade
# Ensure version shows 0.14.0 or higher in application settings

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/Tech5ire

  • SeverityCRITICAL

  • CVSS Score9.6

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Release v0.14.0
  • Vendor Resources
  • GitHub Security Advisory GHSA-8527-3cch-95gf
  • Related CVEs
  • CVE-2025-68669: 5ire Desktop AI Assistant RCE Vulnerability

  • CVE-2025-47777: 5ire Desktop AI Assistant RCE Vulnerability

  • CVE-2026-22793: 5ire Desktop AI Assistant RCE Vulnerability

  • CVE-2026-22792: 5ire AI Assistant RCE Vulnerability
Default Legacy - Prefooter | 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
  • 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

English