CVE-2026-65606: SiYuan before v3.7.2 Cross-Site Scripting to RCE

Published Jul 23, 2026
·
Updated

SiYuan before v3.7.2 contains a cross-site scripting vulnerability in the siyuan:// protocol handler. When a siyuan://plugins/<name> link references a name that is not an installed plugin, the application opens a custom tab and inserts the link's icon parameter into the tab header via innerHTML without escaping it (app/src/layout/Tab.ts), allowing injection of an <img onerror=...> element. Because the SiYuan Desktop renderer runs with nodeIntegration:true, the injected JavaScript can access Node's require and call require('childprocess').execSync(...), escalating the cross-site scripting into arbitrary operating-system command execution.

Affected Software

1 affected component
SiYuan SiYuan Desktop<3.7.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SiYuan Desktop to a version that resolves this vulnerability.

    Fixed in v3.7.2
  2. Configuration

    Disable Node integration in the renderer so injected JavaScript cannot access Node.js APIs (e.g., require('child_process').execSync) and escalate XSS to OS command execution.

    SiYuan Desktop (renderer process) nodeIntegration = false
  3. Compensating control

    If siyuan://plugins/<name> links can be reached by untrusted content, block or sanitize those links so plugin names that are not installed cannot trigger rendering/HTML injection via the siyuan:// protocol handler.

Event History

Jul 23, 2026
CVE Published
via MITRE·11:42 AM
Data Sourced
via MITRE·11:42 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:18 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-65606?

CVE-2026-65606 has a critical severity rating of 9.6.

2

What type of vulnerability is CVE-2026-65606?

CVE-2026-65606 is a cross-site scripting (XSS) vulnerability that can lead to remote code execution (RCE).

3

How do I fix CVE-2026-65606?

To fix CVE-2026-65606, upgrade to SiYuan version 3.7.2 or later, where the vulnerability has been patched.

4

What impact does CVE-2026-65606 have on users?

CVE-2026-65606 can allow attackers to manipulate the application to execute arbitrary code, compromising user data and systems.

5

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

SiYuan versions prior to 3.7.2 are affected by CVE-2026-65606.

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