Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/0xJacky/Nginx-UI
  4. ›
  5. CVE-2026-34403

CVE-2026-34403: Nginx-UI: Cross-Site WebSocket Hijacking (CSWSH) via missing origin validation on all WebSocket endpoints

April 21, 2026 (updated May 7, 2026)

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.

References

  • github.com/0xJacky/nginx-ui/releases/tag/v2.3.5
  • github.com/0xJacky/nginx-ui/security/advisories/GHSA-78mf-482w-62qj
  • github.com/advisories/GHSA-78mf-482w-62qj
  • nvd.nist.gov/vuln/detail/CVE-2026-34403

Code Behaviors & Features

Detect and mitigate CVE-2026-34403 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.9.10-0.20260316053337-1a9cd29a3082

Fixed versions

  • 1.9.10-0.20260316053337-1a9cd29a3082

Solution

Upgrade to version 1.9.10-0.20260316053337-1a9cd29a3082 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1385: Missing Origin Validation in WebSockets
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

go/github.com/0xJacky/Nginx-UI/CVE-2026-34403.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:14 +0000.