All vulnerabilities

npm

CVE-2026-137470

SiYuan before 3.8.11 Stored XSS to RCE via Block Attribute Names

Severity
High 8.7
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
3.8.11
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
siyuannpm · osv:npm:siyuan
  • Every version before 3.8.11

About siyuan

Weekly downloads (npm)
711npm, 24 Nov 2026

Vulnerabilities in siyuan

In our list
4
Published in the last 12 months
4
Critical, last 12 months
1
High, last 12 months
3
Known exploited
0
Search the list for siyuan

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137470