5ire Stored Cross-Site Scripting Vulnerability Leading to Remote Code Execution

Vulnerability

A stored cross-site scripting vulnerability has been identified in the 5ire AI assistant client, in versions prior to 0.11.1. This issue arises from inadequate sanitization of chatbot responses, allowing for the injection of malicious HTML or JavaScript. The vulnerability can be exploited to execute arbitrary code remotely, taking advantage of unsafe handling of Electron protocols and exposed Electron APIs. Users interacting with untrusted chatbots or pasting external content are particularly at risk.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user. This XSS vulnerability can escalate to remote code execution due to unsafe Electron protocol handling and globally exposed Electron APIs, enabling system-level compromise by executing native applications.

Reproduction

To reproduce this vulnerability, use a version of the 5ire client prior to 0.11.1. Interact with an untrusted chatbot or paste external content that can inject malicious scripts into the chat. Once the script is injected, it will be executed when the chat is viewed, exploiting the cross-site scripting vulnerability. The injected script can then execute arbitrary code on the user's system, taking advantage of the exposed Electron APIs and unsafe protocol handling.

Remediation

Users should upgrade to version 0.11.1 or later, where this vulnerability has been patched.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.8
exploitability
5.8
remediation
7.7
relevance
0.0
threat
6.4
urgency
2.9
incentive
0.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.