Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @appium/base-driver
  4. ›
  5. CVE-2026-58191

CVE-2026-58191: Appium: Reflected XSS / arbitrary JS in @appium/base-driver /test/guinea-pig* routes

September 1, 2026

Appium’s base-driver mounts the built-in /test/guinea-pig, /test/guinea-pig-scrollable and /test/guinea-pig-app-banner routes unconditionally on every server. The handler reflects the throwError query param, the comments POST field, and the User-Agent request header into the returned HTML via compileLodashTemplate, which interpolates <%= expr %> as String(expr) with no HTML/JS escaping. This yields reflected XSS, and the throwError value is reflected inside a <script> block, giving arbitrary JavaScript execution on the server’s origin. No authentication, no session, no driver and no plugin are required, and the default bind address is 0.0.0.0.

References

  • github.com/advisories/GHSA-3wgp-x9p5-c7cc
  • github.com/appium/appium/commit/d94a40af9f8040191ee7888571a1c9d5aec59f89
  • github.com/appium/appium/pull/22394
  • github.com/appium/appium/releases/tag/@appium/base-driver@10.7.0
  • github.com/appium/appium/security/advisories/GHSA-3wgp-x9p5-c7cc
  • nvd.nist.gov/vuln/detail/CVE-2026-58191

Code Behaviors & Features

Detect and mitigate CVE-2026-58191 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 10.7.0

Fixed versions

  • 10.7.0

Solution

Upgrade to version 10.7.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-489: Active Debug Code
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@appium/base-driver/CVE-2026-58191.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:01 +0000.