SiYuan <3.6.1 Bazaar XSS RCE via Malicious README
CVE-2026-56395 Published on June 21, 2026
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.
Vulnerability Analysis
CVE-2026-56395 can be exploited with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2026-56395. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
What is a XSS Vulnerability?
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CVE-2026-56395 has been classified to as a XSS vulnerability or weakness.
Products Associated with CVE-2026-56395
Want to know whenever a new CVE is published for B3log Siyuan? stack.watch will email you.
Affected Versions
SiYuan:- Before 3.6.1 is affected.
- Version 3.6.1 is unaffected.