CVE-2026-56397: Vulnerability in Siyuan-note SiYuan
Critical. 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.
Go, CWE-79
- Exploitation
- None confirmed
- Severity
- 9.4 of 10
- Attack likelihood
- 0.7 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-24r3-p3x6-cqvx
- EU ID
- EUVD-2026-38163
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- Weakness
- CWE-79
- Published
- 16 Mar 2026
- Last change
- 8 Nov 2026
- Likelihood rank
- Higher than 49 % of all rated vulnerabilities
- Analysis status
- Deferred
- Ecosystem
- Go
Affected products
Affected versions and the first fixed release
- Siyuan-note SiYuan Before 3.6.1. Fixed in 3.6.1
Affected packages
Vulnerable version ranges and fixed releases
- github.com/siyuan-note/siyuan/kernel Go, Affected through 0.0.0-20260313024916-fd6526133bb3. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/siyuan-note/siyuan/security/advisories/GHSA-v3mg-9v85-fcm7
- vulncheck.com/advisories/siyuan-remote-code-execution-via-malicious-bazaar-package-meta...
Related
- SiYuan vulnerabilities Recent advisories, watch this product