SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| SiYuan | SiYuan | before 3.6.1 | 3.6.1 | Patch available | CNA |
| — | github.com/siyuan-note/siyuan/kernel (Go) | up to 0.0.0-20260313024916-fd6526133bb3 | — | No fix listed | GHSA-v3mg-9v85-fcm7 |
- SiYuan VendorSiYuan Affected before 3.6.1 Fixed in 3.6.1 Patch available CNA
- github.com/siyuan-note/siyuan/kernel (Go) Vendor— Affected up to 0.0.0-20260313024916-fd6526133bb3 Fixed in — No fix listed GHSA-v3mg-9v85-fcm7
Remediation
- Fix · CNA SiYuan (SiYuan) Fixed in 3.6.1
Timeline
- 2026-10-02 Threatist record created from CVE-2026-56397
- 2026-10-03 Alias added: GHSA-v3mg-9v85-fcm7
- 2026-10-09 EPSS moved to the below the 50th percentile
References
Sources
- CVE-2026-56397 · CVE Program
- CVE-2026-56397 · NVD
- FIRST EPSS
- GHSA-v3mg-9v85-fcm7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences