CVE-2026-56395: SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README
SiYuan before v3.6.1 fails to sanitize package metadata and README content in the Bazaar marketplace, allowing malicious package authors to inject arbitrary HTML and JavaScript. Attackers can achieve remote code execution on any user browsing the Bazaar by embedding XSS payloads in package displayName, description, or README fields, exploiting Electron's nodeIntegration setting to execute OS commands.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-56395?
The severity of CVE-2026-56395 is rated as critical with a score of 9.6.
How do I fix CVE-2026-56395?
To fix CVE-2026-56395, update SiYuan to version 3.6.1 or later.
What vulnerabilities are associated with CVE-2026-56395?
CVE-2026-56395 is associated with remote code execution and cross-site scripting (XSS) vulnerabilities.
What can attackers do with CVE-2026-56395?
Attackers can exploit CVE-2026-56395 to execute arbitrary code on users' systems via malicious package metadata and README content.
Which versions of SiYuan are affected by CVE-2026-56395?
SiYuan versions prior to 3.6.1 are affected by CVE-2026-56395.