CVE-2026-34449
CRITICAL 9.6CVSS 3.1SiYuan is Vulnerable to Cross-Origin RCE via Permissive CORS Policy and JavaScript Snippet Injection
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.
- Published
- 31 Mar 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-942
- Also known as
- GHSA-68p4-j234-43mvGO-2026-5171
- Sources
- NVDJSONOSV GHSA-68p4-j234-43mvJSONOSV GO-2026-5171JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | b3log | siyuancpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* |
< 3.6.2 | 3.6.2 |
| OSV | Go | github.com/siyuan-note/siyuan/kernel | < 3.6.2 | 3.6.2 |
| OSV | Go | github.com/siyuan-note/siyuan/kernel | all versions |
References
- https://github.com/siyuan-note/siyuan/issues/17246 · Issue Tracking, WEB
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2 · Release Notes, WEB
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-68p4-j234-43mv · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-34449 · ADVISORY
- https://github.com/siyuan-note/siyuan · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 31 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 31 Mar 2026)