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

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- 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.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-16T18:46:34.000Z
- Modified: 2026-06-17T10:36:23.873Z
- Also known as: GHSA-xp2m-98x8-rpj6, GO-2026-4709
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.6.1
- github.com/siyuan-note/siyuan/kernel (Go): up to 0.0.0-20260313024916-fd6526133bb3; all versions
- b3log siyuan: before 3.6.1

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xp2m-98x8-rpj6> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://github.com/siyuan-note/siyuan/commit/1e370e37359778c0932673e825182ff555b504a3> (patch, web)
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32815> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-32815](https://www.cve.org/CVERecord?id=CVE-2026-32815), CVE Terms of Use, modified 2026-03-20
- GitHub Advisory Database: [GHSA-xp2m-98x8-rpj6](https://github.com/advisories/GHSA-xp2m-98x8-rpj6), CC-BY-4.0, modified 2026-03-30
- Go Vulnerability Database: [GO-2026-4709](https://pkg.go.dev/vuln/GO-2026-4709), CC-BY-4.0, modified 2026-03-26
- NVD: [CVE-2026-32815](https://nvd.nist.gov/vuln/detail/CVE-2026-32815), Public domain, modified 2026-06-17

---

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