{"id":"CVE-2026-34449","published":"2026-03-31T21:45:17Z","modified":"2026-04-01T15:52:56Z","title":"SiYuan: Cross-Origin RCE via Permissive CORS Policy and JavaScript Snippet Injection","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.7,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0052,"percentile":0.45055,"provenance":"source"},"cwes":[{"id":"CWE-942","name":"Permissive Cross-domain Security Policy with Untrusted Domains"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-68p4-j234-43mv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/siyuan-note/siyuan/issues/17246","tags":["x_refsource_MISC"]},{"url":"https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2","tags":["x_refsource_MISC"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":9.01},{"name":"CVSS severity","points":6.79}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.6.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-01T15:28:32.206583Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<3.6.2","all versions"],"patched":["3.6.2"],"from":["GHSA-68p4-j234-43mv","GO-2026-5171"],"provenance":"source"}],"summary":{"text":"The flaw is in SiYuan, a personal knowledge management product, where its permissive cross-origin policy (wildcard Access-Control-Allow-Origin together with Access-Control-Allow-Private-Network) lets untrusted websites reach its API. An attacker who can get a user to visit a malicious website while SiYuan is running can inject a JavaScript snippet that executes with full operating system access in the Electron Node.js context the next time the SiYuan UI is opened, requiring only that the user visit the site and no authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:10Z"},"euvd":{"id":"EUVD-2026-17676","exploited":false,"provenance":"source"}}