CVE-2026-56395: 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-56395?

The severity of CVE-2026-56395 is rated as critical with a score of 9.6.

2

How do I fix CVE-2026-56395?

To fix CVE-2026-56395, update SiYuan to version 3.6.1 or later.

3

What vulnerabilities are associated with CVE-2026-56395?

CVE-2026-56395 is associated with remote code execution and cross-site scripting (XSS) vulnerabilities.

4

What can attackers do with CVE-2026-56395?

Attackers can exploit CVE-2026-56395 to execute arbitrary code on users' systems via malicious package metadata and README content.

5

Which versions of SiYuan are affected by CVE-2026-56395?

SiYuan versions prior to 3.6.1 are affected by CVE-2026-56395.

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