Home

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.

PUBLISHED Reserved 2026-03-27 | Published 2026-04-20 | Updated 2026-04-21 | Assigner GitHub_M




MEDIUM: 5.5CVSS: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

Problem types

CWE-1385: Missing Origin Validation in WebSockets

Product status

< 2.3.5
affected

References

github.com/...inx-ui/security/advisories/GHSA-78mf-482w-62qj

github.com/0xJacky/nginx-ui/releases/tag/v2.3.5

cve.org (CVE-2026-34403)

nvd.nist.gov (CVE-2026-34403)

Download JSON