PT-2025-37257 · Airi+2 · Airi+2
H3Rrr
·
Published
2025-09-11
·
Updated
2025-09-12
·
CVE-2025-59053
CVSS v3.1
9.6
Critical
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
AIRI versions 0.7.2-beta.2
Description:
AIRI is a self-hosted, artificial intelligence based Grok Companion. The application processes Markdown content using the
useMarkdown composable and renders it directly into the DOM using v-html. An attacker can create a card file containing malicious HTML/JavaScript, process it using the highlightTagToHtml function, and render it using v-html, leading to cross-site scripting (XSS). The project exposes the Tauri API, and the MCP plugin exposes a command execution interface function in crates/tauri-plugin-mcp/src/lib.rs. The connect server function directly passes user-supplied command and args parameters to Command::new(command).args(args) without input validation, allowing arbitrary command execution through the XSS exploit.Recommendations:
Upgrade to version 0.7.2-beta.3.
Exploit
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Airi
Tauri
Tauri-Plugin-Mcp