Skip to content

CVE-2026-33067 SiYuan has Stored XSS to RCE via Unsanitized Bazaar Package Metadata

MediumCVSS 5.3 EPSS 0.62%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

SiYuan is a personal knowledge management system. Versions 3.6.0 and below render package metadata fields (displayName, description) using template literals without HTML escaping. A malicious package author can inject arbitrary HTML/JavaScript into these fields, which executes automatically when any user browses the Bazaar page. Because SiYuan's Electron configuration enables nodeIntegration: true with contextIsolation: false, this XSS escalates directly to full Remote Code Execution on the victim's operating system — with zero user interaction beyond opening the marketplace tab. This issue has been fixed in version 3.6.1.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
b3log siyuan < 3.6.1 3.6.1 Fixed
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) < 0.0.0-20260317012524-fe4523fff2c8 0.0.0-20260317012524-fe4523fff2c8 Fixed
siyuan-note siyuan = < 3.6.1 No fix listed Versions listed

Affected products

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

References