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…

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, enabling Cross-Site WebSocket Hijacking (CSWSH). Authentication tokens stored in browser cookies without HttpOnly or SameSite attributes allow a malicious webpage to establish authenticated WebSocket connections if an administrator visits the attacker-controlled page. Version 2. 3. 5 addresses this vulnerability.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/20/2026, 21:16:46 UTC

Technical Analysis

The vulnerability in nginx-ui versions before 2.3.5 stems from missing origin validation in WebSocket connections, specifically the gorilla/websocket Upgrader's CheckOrigin function unconditionally returning true. This flaw permits Cross-Site WebSocket Hijacking attacks. Because authentication tokens are stored in cookies accessible via JavaScript and lack HttpOnly and SameSite attributes, an attacker can leverage a malicious webpage to initiate authenticated WebSocket sessions as an administrator. The issue is fixed in version 2.3.5.

Potential Impact

An attacker can exploit this vulnerability to hijack authenticated WebSocket sessions of an administrator by tricking them into visiting a malicious webpage. This can lead to unauthorized actions performed with administrator privileges via 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 via hijacked WebSocket connections.

Mitigation Recommendations

Upgrade nginx-ui to version 2.3.5 or later, where the origin validation issue in WebSocket endpoints is fixed. Since no official patch link or advisory is provided, verify the upgrade from the vendor's official sources. Avoid relying on partial mitigations as the vulnerability involves authentication token handling and origin checks.

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/20/2026, 9:16:46 PM

Last updated: 4/20/2026, 10:39:13 PM

Views: 4

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