Skip to content

Cross-Site Scripting (XSS) and Remote Code Execution (RCE) in 5ire Client

Critical
nanbingxyz published GHSA-mr8w-mmvv-6hq8 May 14, 2025

Package

No package listed

Affected versions

< 0.11.1

Patched versions

v0.11.1

Description

Impact

Vulnerability Type:

  • Stored XSS in chatbot responses due to insufficient sanitization.
  • Remote Code Execution (RCE) via unsafe Electron protocol handling and exposed Electron APIs.

Affected Users:

All users of 5ire client versions prior to patched releases, particularly those interacting with untrusted chatbots or pasting external content.

Impact Summary:

An attacker can inject malicious HTML/JavaScript into chatbot responses (e.g., via payloads), leading to arbitrary script execution.

XSS can escalate to RCE due to unsafe Electron configurations (e.g., window.open supporting file:///smb:// protocols) and globally exposed Electron APIs (window.electron.openExternal, ipcRenderer).

Attackers may trick users into executing payloads through disguised prompts/images, enabling system-level compromise (e.g., launching native apps).

Patches

Status: Patched in version v0.11.1 and later.

Recommended Actions:

Users should upgrade to v0.11.1 or later to apply these fixes.

References

CVE Disclosure: Pending (to be assigned post-patch).

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

CVE ID

CVE-2025-47777

Weaknesses

Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. Learn more on MITRE.

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as <, >, and & that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. Learn more on MITRE.