# CVE-2026-32815: SiYuan: Cross-Origin WebSocket Hijacking via Authentication Bypass — Unauthenticated Information Disclosure

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-19 · Modified: 2026-03-20
- Aliases: GHSA-xp2m-98x8-rpj6, GO-2026-4709
- Record: https://cvemate.com/vulnerability/CVE-2026-32815 · JSON: https://cvemate.com/vulnerability/CVE-2026-32815/json

## Description

```text
SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the WebSocket endpoint (/ws) allows unauthenticated connections when specific URL parameters are provided (?app=siyuan&id=auth&type=auth). This bypass, intended for the login page to keep the kernel alive, allows any external client — including malicious websites via cross-origin WebSocket — to connect and receive all server push events in real-time. These events leak sensitive document metadata including document titles, notebook names, file paths, and all CRUD operations performed by authenticated users. Combined with the absence of Origin header validation, a malicious website can silently connect to a victim's local SiYuan instance and monitor their note-taking activity. This issue has been fixed in version 3.6.1.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.419%, percentile 38.18%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- b3log siyuan: \< 3.6.1
- github.com/siyuan-note/siyuan kernel (Go): ≤ 0.0.0-20260313024916-fd6526133bb3 \| All versions (No fix recorded)
- siyuan-note siyuan: \< 3.6.1

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xp2m-98x8-rpj6>
- <https://github.com/siyuan-note/siyuan/commit/1e370e37359778c0932673e825182ff555b504a3>
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32815>
- <https://github.com/siyuan-note/siyuan>

---

Data as of 2026-12-05T10:02:38.736Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
