Remote Code Execution Vulnerability in SiYuan Bazaar Marketplace
CVE-2026-56395
9.4CRITICAL
What is CVE-2026-56395?
In SiYuan versions prior to 3.6.1, a vulnerability exists that enables malicious package authors to exploit unsanitized package metadata and README content within the Bazaar marketplace. This flaw permits an attacker to inject arbitrary HTML and JavaScript code, which can lead to remote code execution for users accessing the Bazaar. By embedding XSS payloads in the displayName, description, or README fields of packages, adversaries can leverage Electron's nodeIntegration feature to run operating system commands on the victim's device.
Affected Version(s)
SiYuan 0 < 3.6.1
SiYuan 3.6.1
