Skip to main content
← All vulnerabilities
CVE-2026-34449GHSA-68P4-J234-43MVGO-2026-5171

SiYuan: Cross-Origin RCE via Permissive CORS Policy and JavaScript Snippet Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.6.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • siyuan-note siyuan

    fixed in 3.6.2

  • github.com/siyuan-note/siyuan/kernelGo

    fixed in 3.6.2

  • github.com/siyuan-note/siyuan/kernelGo

    All versions

References 3

GitHub · siyuan-note/siyuan