SiYuan before 3.8.11 Stored XSS to RCE via Block Attribute Names

State
Published
Severity
8.7 High
Published
Nov 26, 2026
Updated
Nov 27, 2026
Reserved
Nov 26, 2026

Read the record on cve.org

Description

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.

ProductVersions
siyuan siyuan-notebefore 3.8.11 Affected3.8.11 Not Affected

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.