CVE-2026-56397: SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README

Published Jun 21, 2026
·
Updated

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.

Affected Software

1 affected component
SiYuan SiYuan<3.6.1

Event History

Jun 21, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-56397?

CVE-2026-56397 has a severity rating of critical with a score of 9.6.

2

How do I fix CVE-2026-56397?

To fix CVE-2026-56397, upgrade to SiYuan version 3.6.1 or later, which addresses the vulnerability.

3

What type of vulnerability is CVE-2026-56397?

CVE-2026-56397 is a remote code execution vulnerability that arises from improper sanitization of package metadata in SiYuan.

4

Who is affected by CVE-2026-56397?

Any user of SiYuan prior to version 3.6.1 who accesses the Bazaar marketplace is potentially affected by CVE-2026-56397.

5

What can attackers achieve with CVE-2026-56397?

Attackers can achieve remote code execution by injecting malicious HTML and JavaScript into the Bazaar via manipulated package metadata.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203