{"id":"EUVD-2026-42425","revision":null,"records":[{"revision":"94753b70020d4cd09726b83e39ac0e32","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-58191","aliases":[],"title":"Appium: Reflected XSS / arbitrary JS in @appium/base-driver /test/guinea-pig* routes","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.","state":0,"publishedAt":"2026-07-08T20:57:43.237+00:00","modifiedAt":"2026-07-09T14:40:38.011+00:00","affected":[{"ecosystem":"Vendor product","name":"appium","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"appium\",\n                    \"product\": \"appium\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 10.7.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/appium/appium/security/advisories/GHSA-3wgp-x9p5-c7cc"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-58191","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-58191","identifiers":["CVE-2026-58191"]},"retained":false,"historicalAffected":[]},{"revision":"2f6ccbc6030244249d512f26d5066390","observedAt":"2026-11-19T17:48:35.894+00:00","statement":{"source":"euvd","id":"EUVD-2026-42425","aliases":["CVE-2026-58191","GHSA-3wgp-x9p5-c7cc"],"title":"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/gui…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"severity":null}],"references":["https://github.com/appium/appium/security/advisories/GHSA-3wgp-x9p5-c7cc"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-42425","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 8, 2026, 8:57:43 PM","dateUpdated":"Jul 9, 2026, 2:40:38 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-42425","identifiers":["EUVD-2026-42425","CVE-2026-58191","GHSA-3wgp-x9p5-c7cc"]},"retained":false,"historicalAffected":[]},{"revision":"7b7231840c0d4a429fc52eca2275e458","observedAt":"2026-10-25T14:19:16.843+00:00","statement":{"source":"nvd","id":"CVE-2026-58191","aliases":[],"title":"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/gui…","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.","state":0,"publishedAt":"2026-07-08T21:16:52.013+00:00","modifiedAt":"2026-07-15T20:31:32.807+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"severity":"MEDIUM"}],"references":["https://github.com/appium/appium/security/advisories/GHSA-3wgp-x9p5-c7cc"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-58191","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-79","CWE-489"],"productCriteria":["cpe:2.3:a:appium:appium\\/base-driver:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-07-08T21:16:52.013","lastModified":"2026-07-15T20:31:32.807"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-58191","identifiers":["CVE-2026-58191"]},"retained":false,"historicalAffected":[]},{"revision":"584cd5a884cd4faa94e2ddd5515fd013","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-3wgp-x9p5-c7cc","aliases":["CVE-2026-58191"],"title":"Appium: Reflected XSS / arbitrary JS in @appium/base-driver /test/guinea-pig* routes","description":"## Summary\n\nAppium'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`.\n\n## Details\n\n### Affected\n- `@appium/base-driver` **10.6.0** (with Appium server **3.5.0**); tested live.\n- Template engine helper: `@appium/base-driver` `lib/utils.ts` `compileLodashTemplate`.\n\n### Location (file:line)\n- Routes mounted unconditionally: `base-driver/lib/express/server.ts:216-219`\n(`app.all('/test/guinea-pig', guineaPig)` etc.).\n- Tainting: `base-driver/lib/express/static.ts:35-61` (`guineaPigTemplate`) —\n`throwError = String(req.params.throwError ?? req.query?.throwError)`, `params.comment = String(req.body.comments)`, `params.userAgent = req.headers['user-agent']`.\n- Unescaped render: `base-driver/lib/utils.ts:67-83` (`compileLodashTemplate`)\nemits `<%= expr %>` as `String(${expr})` via `new Function(...)`, no escaping.\n- Sinks (shipped templates): `base-driver/static/test/guinea-pig.html:11-12`\n(`throwError` inside `<script>`), `:50` (`comment`), `:87` (`userAgent`); same in `guinea-pig-scrollable.html` / `guinea-pig-app-banner.html`.\n\n\n### PoC\n\nRequests:\n```\nGET /test/guinea-pig?throwError=x%27%2balert(document.domain)%2b%27\nPOST /test/guinea-pig         (body: comments=</span><img src=x onerror=alert(1)>)\nGET  /test/guinea-pig         (header: User-Agent: <script>alert(7)</script>)\n```\n\n<img width=\"973\" height=\"276\" alt=\"image\" src=\"https://github.com/user-attachments/assets/f58e1dce-f3ad-43d3-b66e-1ff5efea3866\" />\n\n\n### Impact\n\nAn attacker who can get a victim to open a crafted link (or auto-submit a form) to the Appium server executes arbitrary JavaScript on the server's origin. With default CORS `*` + no authentication, that JS can drive the WebDriver REST API and plugin endpoints. The endpoints are debug/test fixtures that should not be reachable on a production listener at all.","state":0,"publishedAt":"2026-09-01T18:54:53+00:00","modifiedAt":"2026-09-01T19:02:52.9614007+00:00","affected":[{"ecosystem":"npm","name":"@appium/base-driver","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"10.7.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/appium/appium/security/advisories/GHSA-3wgp-x9p5-c7cc","https://nvd.nist.gov/vuln/detail/CVE-2026-58191","https://github.com/appium/appium/pull/22394","https://github.com/appium/appium/commit/d94a40af9f8040191ee7888571a1c9d5aec59f89","https://github.com/appium/appium","https://github.com/appium/appium/releases/tag/@appium/base-driver@10.7.0"],"sourceUrl":"https://github.com/advisories/GHSA-3wgp-x9p5-c7cc","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-3wgp-x9p5-c7cc","identifiers":["GHSA-3wgp-x9p5-c7cc","CVE-2026-58191"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T22:20:52.5993657+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T22:20:52.5993657+00:00","lastSuccessAt":"2026-11-19T22:20:53.0805467+00:00","error":null,"lastVerifiedAt":"2026-11-19T22:20:53.0807717+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-c984ef160b16b28ff6db587f7ea0d1689d0798e6046e67fc32defa703dc6f6ca","complete":true,"records":429190,"lastAttemptAt":"2026-11-19T22:20:51.5272188+00:00","lastSuccessAt":"2026-11-19T21:47:03.8025227+00:00","error":null,"lastVerifiedAt":"2026-11-19T22:20:51.5272188+00:00","snapshotPublishedAt":"2026-11-19T21:21:59+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-c66f6a128f63443fba222e0ffe5a115b","complete":false,"records":13876,"lastAttemptAt":"2026-11-19T22:25:57.9742939+00:00","lastSuccessAt":"2026-11-19T22:25:57.97+00:00","error":"266 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T22:25:57.97+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13658,"expectedIdentifiers":13924,"failedIdentifiers":266},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T22:20:52.5993657+00:00","complete":true,"records":1127,"lastAttemptAt":"2026-11-19T22:20:52.5993657+00:00","lastSuccessAt":"2026-11-19T22:20:53.1648908+00:00","error":null,"lastVerifiedAt":"2026-11-19T22:20:53.1648915+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-beef843459954aa48752bd35491fb115","complete":true,"records":13888,"lastAttemptAt":"2026-11-19T22:20:55.1104031+00:00","lastSuccessAt":"2026-11-19T22:19:18.954+00:00","error":null,"lastVerifiedAt":"2026-11-19T22:19:18.954+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13924,"expectedIdentifiers":13924,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-58e9a21b8e086a5b6920586477e53cfdacc7def970d33862f793df991ca81b59","complete":true,"records":9968,"lastAttemptAt":"2026-11-19T22:20:52.285562+00:00","lastSuccessAt":"2026-11-19T21:49:00.0319793+00:00","error":null,"lastVerifiedAt":"2026-11-19T22:20:52.285562+00:00","snapshotPublishedAt":"2026-11-19T21:03:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-5b62446c94588f06bae8f5027cb37fbcd7b3fd6a6b0998661a386ea6020b50a5","complete":true,"records":2016,"lastAttemptAt":"2026-11-19T22:20:51.6467097+00:00","lastSuccessAt":"2026-11-19T21:47:10.0894633+00:00","error":null,"lastVerifiedAt":"2026-11-19T22:20:51.6467097+00:00","snapshotPublishedAt":"2026-11-19T21:03:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-64108f65764edf17f3aaefbc6967aba7a498920575151854879d8265585249f1","complete":true,"records":3196,"lastAttemptAt":"2026-11-19T22:20:52.3130724+00:00","lastSuccessAt":"2026-11-19T22:19:17.4629919+00:00","error":null,"lastVerifiedAt":"2026-11-19T22:20:52.3130724+00:00","snapshotPublishedAt":"2026-11-19T21:03:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-f39f67f89c04f1952d30dba4cf89508468f679e58f77d99014e7cbd56b1368f0","complete":true,"records":232779,"lastAttemptAt":"2026-11-19T22:20:52.1225572+00:00","lastSuccessAt":"2026-11-19T22:19:12.1611498+00:00","error":null,"lastVerifiedAt":"2026-11-19T22:20:52.1225572+00:00","snapshotPublishedAt":"2026-11-19T21:48:35+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}