CVE-2026-58500: MCP Appium: Unescaped Locator Data XSS in MCP-UI Resource (createLocatorGeneratorUI)

Published Jul 13, 2026
·
Updated

MCP Appium is an MCP server that provides AI assistants with tools to automate mobile app testing on Android and iOS. In versions prior to 1.85.10, the createLocatorGeneratorUI function interpolates attacker-controlled element attributes — text, content-desc, resource-id, and locator selector values — directly into an HTML template literal without any HTML or JavaScript context escaping. An attacker who controls the UI of the app under test can inject arbitrary HTML and JavaScript into the MCP UI resource returned by the generatelocators tool. When a victim's MCP client renders this resource, the injected script executes and can invoke arbitrary MCP tools via window.parent.postMessage, leading to unauthorized MCP tool execution such as taking screenshots, reading page source, or any other registered capability. This issue has been fixed in version 1.85.10.

Affected Software

2 affected components
appium MCP Appium<1.85.10
appium Appium-mcp Node.js<=1.85.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade MCP Appium to a version that resolves this vulnerability.

    Fixed in 1.85.10
  2. Compensating control

    Restrict/limit what the MCP client (that renders the MCP-UI resource) is allowed to communicate with via window.parent.postMessage until all systems are upgraded, to prevent injected scripts from invoking MCP tools such as screenshot capture or reading page source.

Event History

Jul 13, 2026
CVE Published
via MITRE·09:17 PM
Data Sourced
via MITRE·09:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-58500?

The severity of CVE-2026-58500 is high with a score of 8.2.

2

How do I fix CVE-2026-58500?

To fix CVE-2026-58500, upgrade to MCP Appium version 1.85.10 or later.

3

What type of vulnerability is CVE-2026-58500?

CVE-2026-58500 is a Cross-Site Scripting (XSS) vulnerability.

4

What components are affected by CVE-2026-58500?

CVE-2026-58500 affects the createLocatorGeneratorUI function in the MCP Appium software.

5

What are the potential impacts of CVE-2026-58500?

The potential impacts of CVE-2026-58500 include the execution of malicious scripts in the user's browser.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203