XSS in Siyuan
CVE-2026-56397
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 43.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Siyuan — versions 0, 3.6.1
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-v3mg-9v85-fcm7) (vendor-advisory)
- VulnCheck Advisory: SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README (third-party-advisory)