{"schemaVersion":3,"id":"CVE-2026-58500","aliases":["GHSA-x975-rgx4-5fh4"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-07-13T21:17:29.497Z","modified":"2026-07-14T14:31:14.587Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N","exploitability":7.2,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.004,"percentile":0.33096,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.05400000000000001,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00346},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.004,"percentile":0.33096}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.004,"percentile":0.33096}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_APPIUM_APPIUM-MCP","name":"Appium Mcp","source":"github","url":"https://github.com/appium/appium-mcp/security/advisories/GHSA-x975-rgx4-5fh4","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"appium","product":"appium-mcp","name":"appium-mcp","label":"appium-mcp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.85.10","noFixRecorded":false,"fixedIn":null},{"text":"≤ 1.85.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.85.10 | ≤ 1.85.9","eol":null,"hubHref":"/vendor/appium/appium-mcp"},{"vendor":"Npm","product":"appium-mcp","name":"appium-mcp","label":"appium-mcp","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/appium-mcp","purlType":"npm","versions":[{"text":"< 1.85.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.85.10","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/appium/appium-mcp/security/advisories/GHSA-x975-rgx4-5fh4","label":"github.com/appium/appium-mcp/security/advisories/GHSA-x975-rgx4-5fh4","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Vendor Advisory"]},{"url":"https://github.com/appium/appium-mcp/commit/e222bbbd6fe2b656a320efcd143563f08061a83d","label":"github.com/appium/appium-mcp/commit/e222bbbd6fe2b656a320efcd143563f08061a83d","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/appium/appium-mcp","label":"github.com/appium/appium-mcp","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/appium/appium-mcp/releases/tag/v1.85.10","label":"github.com/appium/appium-mcp/releases/tag/v1.85.10","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-07-13T21:17:29.497Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-14T14:31:14.587Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T05:54:53.167Z","stale":false,"partial":false}}