{"id":69984,"date":"2025-09-12T00:32:14","date_gmt":"2025-09-11T21:02:14","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-59053-airis-character-card-chat-ui-is-vulnerable-to-xss-and-can-lead-to-rce\/"},"modified":"2025-09-12T00:32:14","modified_gmt":"2025-09-11T21:02:14","slug":"cve-2025-59053-airis-character-card-chat-ui-is-vulnerable-to-xss-and-can-lead-to-rce","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-59053-airis-character-card-chat-ui-is-vulnerable-to-xss-and-can-lead-to-rce\/","title":{"rendered":"CVE-2025-59053 &#8211; AIRI&#8217;s character card\/chat UI is vulnerable to XSS and can lead to RCE"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-59053<br \/>\n<br \/>\n<strong>Published : <\/strong> Sept. 11, 2025, 7:15 p.m. | 1\u00a0hour, 27\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>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.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 9.6 | CRITICAL<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-59053 Published : Sept. 11, 2025, 7:15 p.m. | 1\u00a0hour, 27\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-69984","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/69984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=69984"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/69984\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=69984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=69984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=69984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}