CVE-2026-56397

Severity CVSS v4.0:
CRITICAL
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
21/06/2026
Last modified:
24/06/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.