Skip to content
CriticalVulnerability

CVE-2025-59053: AIRI XSS in card markdown rendering chained to MCP command execution

Identifier
CVE-2025-59053
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

AIRI, a self-hosted AI-based Grok Companion, is affected in v0.7.2-beta.2. Its MarkdownRenderer.vue renders processed Markdown via v-html, and highlightTagToHtml replaces template tags without HTML escaping, enabling cross-site scripting from a malicious card file. The Tauri MCP plugin's connect_server in crates/tauri-plugin-mcp/src/lib.rs passes user-supplied command and args directly to Command::new without validation, so the XSS can be chained into arbitrary command execution.

Mitigation

Fixed in v0.7.2-beta.3.