Skip to content
9.4 Critical

CVE-2026-56397 SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README

Description

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.

CVSS 4.0 detail

Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Exploitable remotely over the network, without an account and if a user takes an action; an attacker can seriously compromise confidentiality, integrity or availability.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
Interaction
Active
Confidentiality
High
Integrity
High
Availability
High
Confidentiality of other systems
High
Integrity of other systems
High
Availability of other systems
High

Affected products and versions

Product Affected versions Fixed in
SiYuan 3.6 earliest → < 3.6.1 3.6.1
The 7 CVEs of SiYuan →
Track this CVE