Permissive Cross-domain Policy with Untrusted Domains
CVE-2026-34449
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.
- LOW
- NETWORK
- HIGH
- CHANGED
- REQUIRED
- NONE
- HIGH
- HIGH
CWE-942 - Permissive Cross-domain Policy with Untrusted Domains
The software uses a cross-domain policy file that includes domains that should not be trusted.
References
Advisory Timeline
- Published