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

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T21:43:14.000Z
- Modified: 2026-10-24T22:10:00.210Z
- Also known as: GHSA-x975-rgx4-5fh4
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- appium appium-mcp: < 1.85.10; up to 1.85.9
- appium-mcp (npm): before 1.85.10

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N`

## References

- <https://github.com/appium/appium-mcp/security/advisories/GHSA-x975-rgx4-5fh4> (exploit, vendor-advisory, web)
- <https://github.com/appium/appium-mcp/commit/e222bbbd6fe2b656a320efcd143563f08061a83d> (patch, web)
- <https://github.com/appium/appium-mcp> (package)
- <https://github.com/appium/appium-mcp/releases/tag/v1.85.10> (web)

## Sources

- CVE List: [CVE-2026-58500](https://www.cve.org/CVERecord?id=CVE-2026-58500), CVE Terms of Use, modified 2026-07-14
- GitHub Advisory Database: [GHSA-x975-rgx4-5fh4](https://github.com/advisories/GHSA-x975-rgx4-5fh4), CC-BY-4.0, modified 2026-07-15
- NVD: [CVE-2026-58500](https://nvd.nist.gov/vuln/detail/CVE-2026-58500), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-58500 · Whole record: https://cve.day/CVE-2026-58500.json · Rebuilt by cve.day 2026-11-25T22:59:27.852Z
