High severity · published Apr 20, 2026
CVE-2026-34403
Nginx-UI vulnerable to Cross-Site WebSocket Hijacking (CSWSH) via missing origin validation on all WebSocket endpoints
8.1
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 7% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NG
nginx-ui · 0xJacky
< 2.3.5 · source: vendor
NU
Nginx UI · Nginxui
before 2.3.5 · source: NVD
Affected product
NG
nginx-ui
0xJacky
More from nginx-ui
9.9
CVE-2026-44015
Nginx UI: Server-Side Request Forgery (SSRF) via Cluster Proxy Middleware Allows Access to Internal Services
9.9
CVE-2026-33030
Nginx UI: Unencrypted Storage of DNS API Tokens and ACME Private Keys
9.8
CVE-2026-42238
Unauthenticated Remote Code Execution via Backup Restore in nginx-ui
9.8
CVE-2026-42222
nginx-ui: Unauthenticated first-boot instance claim via POST /api/install allows remote bootstrap takeover
9.8
CVE-2026-42221
nginx-ui: Unauthenticated First-Run Installer Allows Remote Initial Admin Claim