Skip to content

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

CriticalCVSS 9.4 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
siyuan-note github.com/siyuan-note/siyuan/kernel < 3.6.1 3.6.1
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) <= 0.0.0-20260313024916-fd6526133bb3 No fix listed
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) < 0.0.0-20260317012524-fe4523fff2c8 0.0.0-20260317012524-fe4523fff2c8

References