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

VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2025-59053
GHSA-9832-F8JX-HW6F

Affected Products

Airi
Tauri
Tauri-Plugin-Mcp