{"id":"CVE-2026-34403","revision":"6b3a5a794a9048c6af8433177b154910","records":[{"revision":"6b3a5a794a9048c6af8433177b154910","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-34403","aliases":[],"title":"Nginx-UI vulnerable to Cross-Site WebSocket Hijacking (CSWSH) via missing origin validation on all WebSocket endpoints","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.","state":0,"publishedAt":"2026-04-20T20:16:47.597+00:00","modifiedAt":"2026-04-21T13:36:46.51+00:00","affected":[{"ecosystem":"Vendor product","name":"nginx-ui","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"0xJacky\",\n                    \"product\": \"nginx-ui\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.3.5\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","score":5.5,"severity":"MEDIUM"}],"references":["https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-78mf-482w-62qj","https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.5"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-34403","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-34403","identifiers":["CVE-2026-34403"]},"retained":false,"historicalAffected":[]}],"coverage":[]}