CVE-2026-34449

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

State
Published
Severity
9.7 Critical
Published
Mar 31, 2026
Updated
Apr 1, 2026
Reserved
Mar 27, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.7 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-942 Permissive Cross-domain Policy with Untrusted Domains

Affected Products

ProductVersions
siyuansiyuan-note
  • < 3.6.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.