CVE-2026-58191: Appium: Reflected XSS / arbitrary JS in @appium/base-driver /test/guinea-pig* routes
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-08 00:03 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
Appium is a cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol. Prior to 10.7.0, Appium’s base-driver unconditionally mounts the /test/guinea-pig, /test/guinea-pig-scrollable, and /test/guinea-pig-app-banner routes, and compileLodashTemplate reflects the throwError query parameter, comments POST field, and User-Agent request header into HTML without escaping, allowing reflected cross-site scripting and arbitrary JavaScript execution on the server origin. This issue is fixed in version 10.7.0.
Description quoted from the CVE record (assigned by GitHub_M, published 2026-07-08).
Weakness: CWE-79: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’); CWE-489: Active Debug Code
How it can be exploited
Exploitable over the network with low attack complexity needing no privileges and a user must take an action. Impact: confidentiality none, integrity high, availability none. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: no. Technical impact: partial.
Public exploit evidence (Exploit Observer)
Exploit Observer found 1 Nuclei template and 5 code repositories naming this CVE.
Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.
See all 11 references on Exploit Observer
Live scores
- EPSS
- 0.006
low predicted chance of attack - VEDAS
- 0.987
strong exploit evidence - On CISA KEV
- Not listed
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| appium | version < 10.7.0 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.
How to detect it
Nuclei template (active check)
Appium - Cross-Site Scripting
Appium is a cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol.
Name and description quoted from the template, written by VEDAS.
The template sends 1 request (GET /test/guinea-pig?throwError=%27%2balert(giyj5xzr)%2b%27); it decides using dsl matchers. Severity in the template: medium. Marked as not yet verified against a live vulnerable target.
Run it against a host you own or are authorised to test:
nuclei -u https://your-host -t CVE-2026-58191.yamlShow the template (33 lines)
id: CVE-2026-58191
info:
name: Appium - Cross-Site Scripting
author: vedas-arpsyndicate
severity: medium
description: |
Appium is a cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver
protocol.
reference:
- https://www.exploit.observer/?keyword=CVE-2026-58191&match=exact
- https://subdomain.center/?engine=ammonites&keyword=appium&match=exact
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
cwe-id: CWE-79
metadata:
verified: false
tags: cve,cve2026,appium,xss,base-driver,node
http:
- raw:
- |
GET /test/guinea-pig?throwError=%27%2balert(giyj5xzr)%2b%27 HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "alert(giyj5xzr)")'
- 'contains_all(body, "This page is a Selenium sandbox", "Appium")'
condition: and
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2026-58191 Appium - Cross-Site Scripting. Add them to your Suricata rule set and reload.
Show the rules
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2026-58191 Appium - Cross-Site Scripting"; flow:established,to_server; http.uri; content:"guinea-pig"; nocase; content:"'"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2026-58191; reference:url,https://www.exploit.observer/?keyword=CVE-2026-58191&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=appium&match=exact; sid:1010190; rev:1;)
CVE-2026-58191.rules on GitHub
References
Other references
- https://github.com/appium/appium/security/advisories/GHSA-3wgp-x9p5-c7cc (x_refsource_CONFIRM)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.