SiYuan Flaws Exposed Files and Enabled Desktop Command Execution
Vulnerability Disclosure · 3 sources · Updated 5mo ago · First seen Mar 20, 2026

SiYuan disclosed two high-severity vulnerabilities affecting its personal knowledge management platform, including an arbitrary file-read issue tracked as CVE-2026-32938 and a stored XSS flaw tracked as CVE-2026-34448. In SiYuan 3.6.0 and earlier, the desktop publish service endpoint /api/lute/html2BlockDOM could copy local files referenced through file:// links into the workspace assets directory without properly validating sensitive paths. Because authenticated users could then access GET /assets/*path, a publish-service visitor could exfiltrate readable local files from the desktop environment. The issue was fixed in 3.6.1.
A separate flaw in SiYuan before 3.6.2 allowed an attacker to plant a malicious URL in an Attribute View field and trigger stored XSS when a victim opened Gallery or Kanban views configured with "Cover From -> Asset Field". The application accepted arbitrary HTTP(S) URLs without extensions as images and injected them into an <img src="..."> attribute without escaping. In the Electron desktop client, where nodeIntegration was enabled and contextIsolation was disabled, the XSS could escalate to arbitrary operating-system command execution under the victim’s account. SiYuan patched the command-execution path in 3.6.2, leaving affected organizations to prioritize upgrades across both releases.


