CVE-2026-137470: SiYuan before 3.8.11 Stored XSS to RCE via Block Attribute Names

Published Nov 26, 2026
·
Updated

SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability that allows attackers to inject DOM event handlers by storing handler-named block attributes such as onmouseover. Attackers can share crafted .sy.zip packages or Markdown files whose attributes reach renderCustom or the unsanitised preview pane, executing OS commands via Node integration in the desktop app.

Affected Software

1 affected component
SiYuan SiYuan<3.8.11

Event History

Nov 26, 2026
CVE Published
via MITRE·04:01 PM
Data Sourced
via MITRE·04:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness
Event
via NVD·04:17 PM

Frequently Asked Questions

1

Who is realistically exposed to exploitation?

Users of SiYuan versions before 3.8.11 are exposed if they open or preview attacker-crafted .sy.zip packages or Markdown files containing malicious block attributes. The attack targets the desktop app's rendering paths, including renderCustom or the unsanitised preview pane.

2

What does an attacker need to exploit this issue?

The attacker needs to get a user to interact with crafted content, such as a shared .sy.zip package or Markdown file. No authentication or existing privileges are required, but user interaction is required.

3

What is the potential impact after successful exploitation?

Injected DOM event handlers can execute in the desktop application and use Node integration to execute OS commands. This can result in compromise of confidentiality, integrity, and availability.

4

How can I determine whether I may be affected?

Check whether the installed SiYuan version is earlier than 3.8.11. Also investigate whether users have opened or previewed untrusted .sy.zip packages or Markdown files, particularly files that may contain handler-named block attributes such as onmouseover.

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