Appium: Reflected XSS / arbitrary JS in @appium/base-driver /test/guinea-pig* routes
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| appium | appium | before 10.7.0 | 10.7.0 | Patch available | CNA |
| — | @appium/base-driver (npm) | before 10.7.0 | 10.7.0 | Patch available | GHSA-3wgp-x9p5-c7cc |
- appium Vendorappium Affected before 10.7.0 Fixed in 10.7.0 Patch available CNA
- @appium/base-driver (npm) Vendor— Affected before 10.7.0 Fixed in 10.7.0 Patch available GHSA-3wgp-x9p5-c7cc
Remediation
- Fix · CNA appium (appium) Fixed in 10.7.0
- Fix · GHSA-3wgp-x9p5-c7cc @appium/base-driver (npm) Fixed in 10.7.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58191
- 2026-10-03 Alias added: GHSA-3wgp-x9p5-c7cc
References
Sources
- CVE-2026-58191 · CVE Program
- CVE-2026-58191 · NVD
- FIRST EPSS
- GHSA-3wgp-x9p5-c7cc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences