{"id":"CVE-2026-34403","published":"2026-04-20T20:16:47Z","modified":"2026-04-21T13:36:46Z","title":"Nginx-UI vulnerable to Cross-Site WebSocket Hijacking (CSWSH) via missing origin validation on all WebSocket endpoints","vendor":"0xJacky","product":"nginx-ui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00179,"percentile":0.07641,"provenance":"source"},"cwes":[{"id":"CWE-1385","name":"Missing Origin Validation in WebSockets"}],"references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-78mf-482w-62qj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.5","tags":["x_refsource_MISC"]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":1.53},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"0xjacky","affectedVersions":[{"vendor":"0xJacky","product":"nginx-ui","versions":["< 2.3.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-21T13:36:34.314909Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/0xJacky/Nginx-UI","vulnerableRanges":["<1.9.10-0.20260316053337-1a9cd29a3082"],"patched":["1.9.10-0.20260316053337-1a9cd29a3082"],"from":["GHSA-78mf-482w-62qj","GO-2026-5210"],"provenance":"source"}],"summary":{"text":"Nginx UI, the web interface for the Nginx web server maintained by 0xJacky, contains a flaw in all of its WebSocket endpoints, which accept connections from any origin because origin validation is unconditionally allowed. An attacker can exploit this, with no authentication of their own and only user interaction required, by luring a logged-in administrator to an attacker-controlled webpage that opens authenticated WebSocket connections to the nginx-ui instance using the administrator's cookies, which lack HttpOnly and explicit SameSite protection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:47Z"},"euvd":{"id":"EUVD-2026-23972","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-23827","published":"2024-01-29","fixed":"1.9.10-0.20240128060047-8581bdd3c6f4","kev":false},{"cve":"CVE-2026-33031","published":"2026-04-20","fixed":"1.9.10-0.20260314152518-7b66578adb47","kev":false},{"cve":"CVE-2026-33026","published":"2026-03-30","fixed":"1.9.10-0.20260315015203-f61bcec547c0","kev":false,"link":{"from":"CVE-2026-33026","to":"CVE-2026-34403","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/0xJacky/Nginx-UI","fromFixed":"1.9.10-0.20260315015203-f61bcec547c0","toFixed":"1.9.10-0.20260316053337-1a9cd29a3082","daysApart":21}]}},{"cve":"CVE-2026-34403","published":"2026-04-20","fixed":"1.9.10-0.20260316053337-1a9cd29a3082","kev":false},{"cve":"CVE-2026-84312","published":"2026-10-12","fixed":"1.9.10-0.20260703131214-23d1934099b0","kev":false},{"cve":"CVE-2026-84313","published":"2026-10-12","fixed":"1.9.10-0.20260703131214-23d1934099b0","kev":false},{"cve":"CVE-2026-84314","published":"2026-10-12","fixed":"1.9.10-0.20260703131214-23d1934099b0","kev":false}],"package":"Go:github.com/0xJacky/Nginx-UI"}}