CVE-2026-34449: SiYuan is Vulnerable to Cross-Origin RCE via Permissive CORS Policy and JavaScript Snippet Injection
(updated )
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.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-34449 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →