Skip to content
CVE PROGRAM SOURCE RECORD9.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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

SiYuan SiYuan

Default version status: unaffected

  • 0 to < 3.6.1affected
  • 3.6.1unaffected
pkg:golang/github.com/siyuan-note/siyuan/kernel

References