Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-58500: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in appium appium-mcp

0
High
VulnerabilityCVE-2026-58500cvecve-2026-58500cwe-79
Published: 07/13/2026 (07/13/2026, 21:17:29 UTC)
Source: CVE Database V5
Vendor/Project: appium
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
appium/appium-mcp
pkg:github/appium/appium-mcp
Affected versions
<1.85.10

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/13/2026, 21:32:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses