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

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-20T20:16:47.597Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-78mf-482w-62qj, GO-2026-5210
- Weaknesses: CWE-352, CWE-1385
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 0xJacky nginx-ui: < 2.3.5
- github.com/0xJacky/Nginx-UI (Go): before 1.9.10-0.20260316053337-1a9cd29a3082
- nginxui nginx_ui: before 2.3.5

## Every score

- GitHub_M: CVSS:4.0 5.5 Medium `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`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-78mf-482w-62qj> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.5> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34403> (advisory)
- <https://github.com/0xJacky/nginx-ui> (package)

## Sources

- CVE List: [CVE-2026-34403](https://www.cve.org/CVERecord?id=CVE-2026-34403), CVE Terms of Use, modified 2026-04-21
- GitHub Advisory Database: [GHSA-78mf-482w-62qj](https://github.com/advisories/GHSA-78mf-482w-62qj), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5210](https://pkg.go.dev/vuln/GO-2026-5210), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-34403](https://nvd.nist.gov/vuln/detail/CVE-2026-34403), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-34403 · Whole record: https://cve.day/CVE-2026-34403.json · Rebuilt by cve.day 2026-11-25T22:59:19.063Z
