CVE-2026-58500: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in appium appium-mcp
CVE-2026-58500 is a high-severity cross-site scripting (XSS) vulnerability in appium-mcp versions prior to 1.85.10. The vulnerability arises because the createLocatorGeneratorUI function directly interpolates attacker-controlled element attributes into an HTML template without proper escaping. This allows an attacker controlling the UI of the app under test to inject arbitrary HTML and JavaScript into the MCP UI resource. When rendered by a victim's MCP client, the injected script can execute arbitrary MCP tools via window.parent.postMessage, potentially leading to unauthorized actions such as taking screenshots or reading page source. The issue is fixed in version 1.85.10.
AI Analysis
Technical Summary
In appium-mcp versions before 1.85.10, the createLocatorGeneratorUI function fails to properly neutralize input when generating web page content, leading to a cross-site scripting (CWE-79) vulnerability. Specifically, attacker-controlled attributes (text, content-desc, resource-id, locator selector values) are embedded directly into an HTML template literal without HTML or JavaScript context escaping. This enables an attacker who controls the UI of the app under test to inject arbitrary HTML/JavaScript into the MCP UI resource returned by the generate_locators tool. When a victim's MCP client renders this resource, the injected script executes and can invoke MCP tools via window.parent.postMessage, resulting in unauthorized execution of MCP capabilities such as taking screenshots or reading page source. The vulnerability has a CVSS 3.1 score of 8.2 (high severity) and was fixed in version 1.85.10.
Potential Impact
An attacker controlling the UI of the app under test can exploit this vulnerability to inject malicious scripts into the MCP UI resource. This leads to unauthorized execution of MCP tools on the victim's client, including sensitive operations like taking screenshots and reading page source. The vulnerability compromises confidentiality and integrity of the MCP environment but does not impact availability.
Mitigation Recommendations
This vulnerability is fixed in appium-mcp version 1.85.10. Users should upgrade to version 1.85.10 or later to remediate this issue. No other official remediation or temporary fixes are indicated. Patch status is confirmed by the vendor advisory stating the fix in 1.85.10.
CVE-2026-58500: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in appium appium-mcp
Description
CVE-2026-58500 is a high-severity cross-site scripting (XSS) vulnerability in appium-mcp versions prior to 1.85.10. The vulnerability arises because the createLocatorGeneratorUI function directly interpolates attacker-controlled element attributes into an HTML template without proper escaping. This allows an attacker controlling the UI of the app under test to inject arbitrary HTML and JavaScript into the MCP UI resource. When rendered by a victim's MCP client, the injected script can execute arbitrary MCP tools via window.parent.postMessage, potentially leading to unauthorized actions such as taking screenshots or reading page source. The issue is fixed in version 1.85.10.
CVSS v3.1
Score 8.2high
Affected software
pkg:github/appium/appium-mcpRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In appium-mcp versions before 1.85.10, the createLocatorGeneratorUI function fails to properly neutralize input when generating web page content, leading to a cross-site scripting (CWE-79) vulnerability. Specifically, attacker-controlled attributes (text, content-desc, resource-id, locator selector values) are embedded directly into an HTML template literal without HTML or JavaScript context escaping. This enables an attacker who controls the UI of the app under test to inject arbitrary HTML/JavaScript into the MCP UI resource returned by the generate_locators tool. When a victim's MCP client renders this resource, the injected script executes and can invoke MCP tools via window.parent.postMessage, resulting in unauthorized execution of MCP capabilities such as taking screenshots or reading page source. The vulnerability has a CVSS 3.1 score of 8.2 (high severity) and was fixed in version 1.85.10.
Potential Impact
An attacker controlling the UI of the app under test can exploit this vulnerability to inject malicious scripts into the MCP UI resource. This leads to unauthorized execution of MCP tools on the victim's client, including sensitive operations like taking screenshots and reading page source. The vulnerability compromises confidentiality and integrity of the MCP environment but does not impact availability.
Mitigation Recommendations
This vulnerability is fixed in appium-mcp version 1.85.10. Users should upgrade to version 1.85.10 or later to remediate this issue. No other official remediation or temporary fixes are indicated. Patch status is confirmed by the vendor advisory stating the fix in 1.85.10.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-30T20:21:25.813Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a55561b68715ace43e122c9
Added to database: 07/13/2026, 21:18:19 UTC
Last enriched: 07/13/2026, 21:32:47 UTC
Last updated: 07/13/2026, 21:32:47 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.