What’s Vulnerable › Vulnerabilities
CVE-2026-56397: SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-21 · updated 2026-10-08
- Weakness: CWE-79
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
- siyuan-note siyuan: before 3.6.1 — fixed in 3.6.1
How to fix
Upgrade to a fixed version: siyuan-note siyuan 3.6.1. Check the vendor advisory for mitigations.
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-v3mg-9v85-fcm7
- https://www.vulncheck.com/advisories/siyuan-remote-code-execution-via-malicious-bazaar-package-metadata-and-readme-2
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-v3mg-9v85-fcm7
Get alerted when CVE-2026-56397 or the next vulnerability affects your stack