CVE-2026-56397

Critical

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.

SeverityCritical
CVSS9.6
Exploit probability—
ProductSiYuan
PublishedJun 21, 2026
First seenJun 21, 2026

How to fix

Update
  • SiYuan SiYuan3.6.1 or later

Affected products

ProductAffected versionsFixed in
SiYuan SiYuanv < 3.6.13.6.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.