CVE-2026-56397
SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README
- State
- Published
- Severity
- 9.4 Critical
- Published
- Jun 21, 2026
- Updated
- Oct 8, 2026
- Reserved
- Jun 21, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.4 Critical | 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 | VulnCheck |
| 3.1 | 9.6 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
SiYuanSiYuan |
|
References
- GHSA Advisory GHSA-v3mg-9v85-fcm7vendor-advisory
- VulnCheck Advisory: SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and READMEthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.