CVE-2026-34449 SiYuan: Cross-Origin RCE via Permissive CORS Policy and JavaScript Snippet Injection
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| siyuan-note github.com/siyuan-note/siyuan/kernel(Go) | < 3.6.2; <= 3.6.1; All versions | 3.6.2 | Partially fixed |
| b3log siyuan | < 3.6.2 | 3.6.2 | Fixed |
| siyuan-note siyuan | = < 3.6.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| siyuan-note siyuan | = < 3.6.2 | No fix listed |
| siyuan-note github.com/siyuan-note/siyuan/kernel(Go) | < 3.6.2 | 3.6.2 |
| siyuan-note github.com/siyuan-note/siyuan/kernel(Go) | All versions | No fix listed |
| siyuan-note github.com/siyuan-note/siyuan/kernel(Go) | <= 3.6.1 | No fix listed |
| b3log siyuan | < 3.6.2 | 3.6.2 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-68p4-j234-43mv exploit vendor-advisory
- https://github.com/siyuan-note/siyuan/issues/17246 issue-tracking
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com