CVE-2026-59855: SiYuan: Store XSS To Rce via Asset.render

Published Jul 9, 2026
·
Updated

SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, Asset.render in app/src/asset/index.ts interpolates the unsanitized this.path value into HTML assigned to innerHTML, allowing a crafted asset link containing a double quote to break out of the src attribute, inject an event handler, and execute JavaScript that can run OS commands in the Electron renderer. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.

Affected Software

1 affected component
SiYuan SiYuan<3.7.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SiYuan to a version that resolves this vulnerability.

    Fixed in 3.7.1-alpha.2

Event History

Jul 9, 2026
CVE Published
via MITRE·10:19 PM
Data Sourced
via MITRE·10:19 PM
DescriptionWeakness
Data Sourced
via NVD·11:17 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-59855?

The severity of CVE-2026-59855 is high with a CVSS score of 8.6.

2

How do I fix CVE-2026-59855?

To fix CVE-2026-59855, upgrade to SiYuan version 3.7.1 or later.

3

What type of vulnerability is CVE-2026-59855?

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

4

What is the impact of CVE-2026-59855?

The impact of CVE-2026-59855 allows attackers to execute arbitrary code via crafted asset links.

5

Which software is affected by CVE-2026-59855?

CVE-2026-59855 affects SiYuan versions prior to 3.7.1.

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