CVE-2026-34403 Nginx-UI vulnerable to Cross-Site WebSocket Hijacking (CSWSH) via missing origin validation on all WebSocket endpoints
MediumCVSS 5.5
EPSS 0.18%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.5, all WebSocket endpoints in nginx-ui use a gorilla/websocket Upgrader with CheckOrigin unconditionally returning true, allowing Cross-Site WebSocket Hijacking (CSWSH). Combined with the fact that authentication tokens are stored in browser cookies (set via JavaScript without HttpOnly or explicit SameSite attributes), a malicious webpage can establish authenticated WebSocket connections to the nginx-ui instance when a logged-in administrator visits the attacker-controlled page. Version 2.3.5 patches the issue.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| 0xJacky nginx-ui | = < 2.3.5 | No fix listed |
| 0xJacky nginx-ui(Go) | < 1.9.10-0.20260316053337-1a9cd29a3082 | 1.9.10-0.20260316053337-1a9cd29a3082 |
| nginxui nginx ui | < 2.3.5 | 2.3.5 |
References
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-78mf-482w-62qj exploit mitigation vendor-advisory
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.5 product release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com