Remote Code Execution Vulnerability in SiYuan Bazaar Marketplace
CVE-2026-56397
9.4CRITICAL
What is CVE-2026-56397?
The SiYuan application prior to version 3.6.1 suffers from a significant vulnerability in the Bazaar marketplace, as it inadequately sanitizes package metadata and README content. This flaw enables malicious authors to inject arbitrary HTML and JavaScript into their packages. By exploiting the lack of proper validation, an attacker can embed cross-site scripting (XSS) payloads into the package displayName, description, or README fields. If a user interacts with these compromised packages, they may unknowingly execute arbitrary OS commands due to Electron's nodeIntegration setting, leading to severe security risks.
Affected Version(s)
SiYuan 0 < 3.6.1
SiYuan 3.6.1
