SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.6.1 and github.com/siyuan-note/siyuan/kernel 0.0.0-20260317012524-fe4523fff2c8.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| SiYuan | <3.6.1 | 3.6.1 | |
| go: github.com/siyuan-note/siyuan/kernel | <0.0.0-20260317012524-fe4523fff2c8, <=0.0.0-20260313024916-fd6526133bb3 | 0.0.0-20260317012524-fe4523fff2c8 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in github.com/siyuan-note/siyuan/kernel (Go), strongest first
Embed
A live severity badge for an advisory, README or ticket