CVE-2026-56395
CriticalCVSS 9.6Exploitation Probability (EPSS)
Low risk31th percentile — higher than 31% of all known CVEs
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.
Risk Assessment
Exploitation of this vulnerability could lead to remote code execution, posing a serious threat to the security of users and organizational systems. Attackers may gain control over user systems, potentially resulting in data loss or system compromise.
Recommendation
It is recommended to update SiYuan to version 3.6.1 or later to mitigate this vulnerability. Additionally, implementing extra security measures such as Content Security Policy (CSP) is advisable to limit the possibility of injecting malicious code.
Original NVD description (English source)
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.

