Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Nov 8, 2026

CVE-2026-58191 Scanner

CVE-2026-58191 Scanner - Cross-Site Scripting (XSS) vulnerability in Appium base-driver

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
7
Times Used
continuous scan runs
4.2k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
6.1
CVSSmedium
Exploitable remotely over the internet · no authentication required · user interaction needed.
Description

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.

Attack Vector
Network
Privileges Req.
None
User Interaction
Required
Affected
appiumby appium
< 10.7.0
Updated Nov 6, 2026View on NVD →
Detail

The Appium base-driver is a core component of the Appium testing framework used globally by software developers and testers to automate mobile application testing across various platforms. It is mainly utilized by QA engineers to ensure mobile apps operate seamlessly across different devices and OS versions. This software plays a vital role in Continuous Integration/Continuous Deployment (CI/CD) pipelines to improve testing efficiency and effectiveness. The base-driver manages the communication between the test scripts and the devices, facilitating real-time test execution. Open-source and community-driven, Appium base-driver retains a strong presence in both small startups and large enterprises. Utilizing Appium, teams implement dynamic and robust testing solutions aligned with modern software development methodologies.

This vulnerability refers to a Reflected Cross-Site Scripting (XSS) flaw in Appium base-driver versions up to 10.6.0. The vulnerability arises from insufficient input validation in handling the throwError query parameter, comments POST field, and User-Agent header within base-driver routes. This allows an attacker to inject and execute arbitrary JavaScript in the context of the user's browser when a crafted HTTP request is sent. As this vulnerability is client-influenced and executed over legitimate server-origin interactions, unsuspecting end-users or testers may be caught unaware. If successfully exploited, attackers can undertake actions such as session hijacking, defacement, redirection to malicious sites, or other malicious tasks.

The technical details about this XSS vulnerability involve the failure to escape or validate specific user inputs on queried parameters routed via the base-driver. Security tests reveal that when the throwError parameter, comments POST field, or User-Agent header values are exploited, an alert is triggered within the browser, confirming script execution. The vulnerability is contained within the HTTP requests that manage page interactions, specifically manipulated to include JavaScript code as an input value. Successful execution of this script occurs only when the status returns a 200 response code, and the response body contains particular substrings associated with Appium's test environment. This potentially leads to unauthorized script execution if not correctly addressed.

Adverse effects of this vulnerability, once exploited, can include hijacking of user sessions, redirection to harmful sites, phishing attacks, and the unauthorized execution of malicious scripts. The impact on the end user's browser security could be severe, leveraging JavaScript execution to infiltrate a user's data sessions. Furthermore, intellectual property can be at risk if sensitive application data are indirectly accessed or manipulated during these attacks. The organization's reputation and the security integrity of the application tests are at risk when such vulnerabilities are left unpatched.

REFERENCES

Solution Advice
  • Update the Appium base-driver to version 10.7.0 or later to mitigate the issue.
  • Implement comprehensive input validation and sanitization to prevent script injections.
  • Use Content Security Policy (CSP) to restrict scripts running from unauthorized sources.
  • Review code for improper handling of user-supplied inputs and apply corrections where necessary.
  • Educate development teams on secure coding practices to prevent similar vulnerabilities in the future.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.