Vulnerability · Published Mar 31, 2026 · Assigned by GitHub_M
CVE-2026-34449SiYuan: Cross-Origin RCE via Permissive CORS Policy and JavaScript Snippet Injection
Critical 9.7
In plain English
A critical-severity security flaw in siyuan from siyuan-note. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
SiYuan is a personal knowledge management system. Prior to version 3.6.2, a malicious website can achieve Remote Code Execution (RCE) on any desktop running SiYuan by exploiting the permissive CORS policy (Access-Control-Allow-Origin: * + Access-Control-Allow-Private-Network: true) to inject a JavaScript snippet via the API. The injected snippet executes in Electron's Node.js context with full OS access the next time the user opens SiYuan's UI. No user interaction is required beyond visiting the malicious website while SiYuan is running. This issue has been patched in version 3.6.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel | 3.6.2 | GHSA-68p4-j234-43mv |
| Go | github.com/siyuan-note/siyuan/kernel | no fix listed | GO-2026-5171 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| siyuan-note | siyuan | < 3.6.2 |
Weakness: CWE-942 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-68p4-j234-43mv x_refsource_CONFIRM
- https://github.com/siyuan-note/siyuan/issues/17246 x_refsource_MISC
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2 x_refsource_MISC