GHSA-X5W7-48PF-H23P
WebSocket upgrades are accepted without an Origin check
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-X5W7-48PF-H23P divulgada · CVSS 4.3 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
@appium/base-driver accepts WebSocket upgrade requests on any registered path without looking at the Origin header. Browsers do not apply CORS to WebSocket connections; they only send the Origin of the page that opened the socket, and the server is expected to check it. The HTTP side already restricts cross-origin access when --allow-cors is off (the default), so the WebSocket side currently does not follow the same rule.
Impact
Who is affected: users who run an Appium server reachable from their browser (for example on localhost) and visit a web page while it is running. The page can open WebSocket connections to the server. Requests without an Origin header, which is what WebDriver clients such as WebdriverIO and the Java/Python clients send, are not affected.
With the WebSocket endpoints that exist today the impact looks limited:
- /bidi without a session id only handles status and subscription commands.
- /bidi/:sessionId requires a session id that is hard to guess.
- The storage plugin upload sockets only exist for an upload prepared by an earlier request.
Any WebSocket endpoint added later by Appium, a driver or a plugin inherits the missing check, so fixing it in base-driver closes the gap for all of them.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@appium/base-driver |
Sin parche | — | — | 10.8.3 no afectada |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/appium/appium/security/advisories/GHSA-x5w7-48pf-h23pLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
