CVE-2025-59053 Details
Description
AIRI is a self-hosted, artificial intelligence based Grok Companion. In v0.7.2-beta.2 in the `packages/stage-ui/src/components/MarkdownRenderer.vue` path, the Markdown content is processed using the useMarkdown composable, and the processed HTML is rendered directly into the DOM using v-html. An attacker creates a card file containing malicious HTML/JavaScript, then simply processes it using the highlightTagToHtml function (which simply replaces template tags without HTML escaping), and then directly renders it using v-html, leading to cross-site scripting (XSS). The project also exposes the Tauri API, which can be called from the frontend. The MCP plugin exposes a command execution interface function in `crates/tauri-plugin-mcp/src/lib.rs`. This allows arbitrary command execution. `connect_server` directly passes the user-supplied `command` and `args` parameters to `Command::new(command).args(args)` without any input validation or whitelisting. Thus, the previous XSS exploit could achieve command execution through this interface. v0.7.2-beta.3 fixes the issue.
A cross-site scripting (XSS) vulnerability has been identified in AIRI version 0.7.2-beta.2. The issue arises in the MarkdownRenderer component, where Markdown content is processed and rendered directly into the DOM using v-html. An attacker can create a card file with malicious HTML or JavaScript, which is then processed and rendered, leading to XSS. This vulnerability is particularly critical because AIRI exposes the Tauri API, allowing for arbitrary command execution. The MCP plugin can be exploited to execute commands on the server.
Users can update to AIRI version 0.7.2-beta.3, which addresses this vulnerability by sanitizing v-html inputs with DOMPurify.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 11, 2025CISA-ADP
Assessed Sep 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/moeru-ai/airi/security/advisories/GHSA-9832-f8jx-hw6f | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/moeru-ai/airi/commit/3315634903c9102a19e8f0476970df01801c8ca4 | [email protected] | Source CodeVendor |
| https://github.com/moeru-ai/airi/security/advisories/GHSA-9832-f8jx-hw6f | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| moeru-ai airi | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 11, 2025 | New CVE Received | [email protected] |
| Sep 11, 2025 | CVE Modified | CISA-ADP |
Volerion