Cross-Site Scripting Flaw in SiYuan Personal Knowledge Management System
CVE-2026-33066
5.3MEDIUM
What is CVE-2026-33066?
The SiYuan personal knowledge management system contains a vulnerability in its backend render process, which permits raw HTML content within Markdown to execute without sanitization. By utilizing the lute.New() function without enabling SetSanitize(true), attackers can embed malicious JavaScript within README files. When users access these files, the unsafe HTML is rendered directly as innerHTML. Coupled with SiYuan's Electron settings that allow nodeIntegration: true and contextIsolation: false, this vulnerability could be exploited to achieve full Remote Code Execution. The issue has been addressed in version 3.6.1.
Affected Version(s)
siyuan < 3.6.1
