Description
SiYuan versions before 3.7.4 contain a cross-site WebSocket hijacking vulnerability in the admin-only /ws/network/proxy endpoint that explicitly disables origin validation by setting CheckOrigin to unconditionally return true. Attackers can craft malicious webpages that establish WebSocket connections to this endpoint and direct the SiYuan kernel process to proxy arbitrary network traffic to attacker-chosen targets, enabling authenticated network pivoting through the victim's machine.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| siyuan-note | siyuan | < 3.7.4 | 3.7.4 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel | < 0.0.0-20260803045322-cb67e0b4fab5 | 0.0.0-20260803045322-cb67e0b4fab5 | GHSA-3cc2-h3v6-rqpq |
References
- GitHub Security Advisory (GHSA-3cc2-h3v6-rqpq) vendor-advisory
- VulnCheck Advisory: SiYuan 3.7.3 Cross-Site WebSocket Hijacking via network proxy third-party-advisory