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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-78mf-482w-62qj Exploit, Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.5 · nginxuiNVD modified 2026-10-26 21:10
Affected (CPE criteria) 1
cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*
References 2
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.5 Product, Release Notes
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-78mf-482w-62qj Exploit, Mitigation, Vendor Advisory