{"cve":"CVE-2026-58500","nvd":{"published":"2026-07-13T22:16:48.677","modified":"2026-10-24T22:10:00.210","status":"Analyzed","description":"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 generate_locators 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N","score":8.2},"cwes":["CWE-79"],"references":["https://github.com/appium/appium-mcp/commit/e222bbbd6fe2b656a320efcd143563f08061a83d","https://github.com/appium/appium-mcp/security/advisories/GHSA-x975-rgx4-5fh4","https://github.com/appium/appium-mcp/security/advisories/GHSA-x975-rgx4-5fh4"],"products":["appium:appium-mcp"],"source":"nvd","synced_at":"2026-10-25T17:50:06.907763985+00:00"},"epss":{"cve":"CVE-2026-58500","score":0.004,"percentile":0.34012,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-x975-rgx4-5fh4","url":"https://osv.dev/vulnerability/GHSA-x975-rgx4-5fh4","summary":"appium-mcp: Unescaped Locator Data XSS in MCP-UI Resource (createLocatorGeneratorUI)","modified":"2026-07-15T02:26:45.307163272Z","packages":[{"ecosystem":"npm","name":"appium-mcp","purl":"pkg:npm/appium-mcp","ranges":["<1.85.10"],"fixed":["1.85.10"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}