Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 87%

CVE-2026-34403: CWE-1385: Missing Origin Validation in WebSockets in 0xJacky nginx-ui

0
Medium
VulnerabilityCVE-2026-34403cvecve-2026-34403cwe-1385
Published: Mon Apr 20 2026 (04/20/2026, 20:16:47 UTC)
Source: CVE Database V5
Vendor/Project: 0xJacky
Product: nginx-ui

Description

CVE-2026-34403 is a medium severity vulnerability in 0xJacky's nginx-ui prior to version 2. 3. 5. The issue arises because all WebSocket endpoints use a gorilla/websocket Upgrader with CheckOrigin always returning true, which allows Cross-Site WebSocket Hijacking (CSWSH). Since authentication tokens are stored in browser cookies without HttpOnly or SameSite attributes, a malicious webpage can establish authenticated WebSocket connections if an administrator visits it. Version 2. 3. 5 addresses this vulnerability.

CVSS v4.0

Score 5.5medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/28/2026, 06:07:19 UTC

Technical Analysis

The vulnerability in nginx-ui versions before 2.3.5 involves missing origin validation on WebSocket connections. The gorilla/websocket Upgrader's CheckOrigin function unconditionally returns true, permitting any origin to establish WebSocket connections. Because authentication tokens are stored in cookies accessible via JavaScript and lack protective attributes, an attacker-controlled webpage can hijack WebSocket sessions of logged-in administrators via Cross-Site WebSocket Hijacking. This can lead to unauthorized actions through the WebSocket interface. The issue is fixed in version 2.3.5.

Potential Impact

An attacker can exploit this vulnerability to perform Cross-Site WebSocket Hijacking, potentially allowing unauthorized WebSocket interactions with the nginx-ui instance under the context of an authenticated administrator. This could lead to unauthorized commands or data access through the WebSocket interface. The CVSS 4.0 score is 5.5 (medium severity), reflecting network attack vector, no privileges required, user interaction needed, and high impact on integrity and availability.

Mitigation Recommendations

Upgrade nginx-ui to version 2.3.5 or later, where the origin validation for WebSocket connections has been properly implemented. Until upgraded, users should be cautious about visiting untrusted webpages while logged into nginx-ui, as the vulnerability requires user interaction. No official patch links or vendor advisory were provided; therefore, verify the upgrade availability from the vendor or trusted sources.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-27T13:45:29.620Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69e6941f19fe3cd2cd32c495

Added to database: 4/20/2026, 9:01:19 PM

Last enriched: 4/28/2026, 6:07:19 AM

Last updated: 6/5/2026, 1:57:52 AM

Views: 206

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses