Back to list

Appium: Reflected XSS / arbitrary JS in @appium/base-driver /test/guinea-pig* routes — GHSA-3WGP-X9P5-C7CC

GitHub · GitHub · GHSA-3WGP-X9P5-C7CC

ID
GHSA-3WGP-X9P5-C7CC
Date
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
6.5
EPSS
0.00316

Summary

## Summary 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…

Timeline

Published by source
2026-09-01

Risk context

  • Reported severity or threat level: medium.
  • Reported CVSS score: 6.5 out of 10.
  • Reported EPSS value: 0.00316.
  • Review exposure for the affected product or family: npm: @appium/base-driver.

Product

npm: @appium/base-driver

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-3WGP-X9P5-C7CC
Source
GitHub
Vendor
GitHub
Published by source
2026-09-01
Last source activity
2026-09-01
Additional identifiers
CVE-2026-58191
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.