Urgent
SiYuan asset picker stored XSS allows code execution
CVE-2026-145039 and 18 more
A malicious file can hack the SiYuan note app's desktop version!
- CVE
- CVE-2026-145039 and 18 more
- Score
- CVSS 9.4 · CVE-2026-145039
- Public date
- 2026-11-18
- First seen
Mitigation
Update SiYuan to 3.8.11 or later. That update fixes every CVE in the list.
Summary
A stored XSS flaw in the SiYuan asset picker does not escape filenames, so the desktop build can run PC commands (before 3.8.11). The same update also fixes information disclosure, missing authorization and denial of service flaws.
Exploit code is public
Affected when
- CVE-2026-145039 importing a .sy.zip with a malicious filename and opening the asset picker
- CVE-2026-145038 importing a notebook with malicious asset names and opening the unused asset cleanup dialog
- CVE-2026-145062 importing a .sy.zip with a malicious attribute name and opening the attribute panel
- CVE-2026-145078 importing a .sy.zip with a malicious onmouseover attribute and then editing the block
- CVE-2026-145020 reachable over plaintext HTTP on the path
- CVE-2026-145076 publish service with authentication disabled
- CVE-2026-145057, CVE-2026-145032 server address reachable by the attacker
- CVE-2026-145064 encrypted notebooks in use
- CVE-2026-145074, CVE-2026-145093, CVE-2026-145089, CVE-2026-145064, CVE-2026-145058, CVE-2026-145056, CVE-2026-145053, CVE-2026-145049, CVE-2026-145029, CVE-2026-145024, CVE-2026-145023 an authenticated publish Reader account exists
11 other Incidents of this product in the last 30 days
Incidents by product: SiYuan
Other recent Incidents of SiYuan
19 CVEs (every link below opens in a new tab)
Read the advisory · github.com (opens in a new tab)
Each of the 19 CVEs (every link below opens in a new tab)
- CVE-2026-145039A malicious filename script can run PC commands in the desktop app. CVSS 9.4 CVE-2026-145039 advisory · CVE-2026-145039 write-up
- CVE-2026-145038A script runs in the unused asset cleanup window and can put desktop files at risk. CVSS 9.0 CVE-2026-145038 advisory · CVE-2026-145038 write-up
- CVE-2026-145062A script runs in the attribute window and can run commands on the device. CVSS 8.8 CVE-2026-145062 advisory · CVE-2026-145062 write-up
Show 16 more
- CVE-2026-145020Over plaintext HTTP an attacker can swap the login page, capture the access code and gain admin rights. CVSS 8.5 CVE-2026-145020 advisory · CVE-2026-145020 write-up
- CVE-2026-145078A malicious attribute runs when another editor changes the block, running code in the desktop app. CVSS 7.7 CVE-2026-145078 advisory · CVE-2026-145078 write-up
- CVE-2026-145074Guessing limits on one protected document can be reset through another, to read protected content. CVSS 7.1 CVE-2026-145074 advisory · CVE-2026-145074 write-up
- CVE-2026-145076Without logging in, an attacker can see when documents were viewed, opened or closed. CVSS 6.9 CVE-2026-145076 advisory · CVE-2026-145076 write-up
- CVE-2026-145057Without logging in, an attacker can force connected clients to log in again and disrupt work. CVSS 6.9 CVE-2026-145057 advisory · CVE-2026-145057 write-up
- CVE-2026-145032Without logging in, oversized requests can slow the server and partly stop services. CVSS 6.9 CVE-2026-145032 advisory · CVE-2026-145032 write-up
- CVE-2026-145093A published-page reader can tell whether hidden documents were recently edited. CVSS 5.3 CVE-2026-145093 advisory · CVE-2026-145093 write-up
- CVE-2026-145089A published-page reader can read editor-only inline memo text. CVSS 5.3 CVE-2026-145089 advisory · CVE-2026-145089 write-up
- CVE-2026-145064An attacker can tell whether an encrypted notebook is locked. CVSS 5.3 CVE-2026-145064 advisory · CVE-2026-145064 write-up
- CVE-2026-145058An authenticated Reader can compare getBlockDOM responses to learn whether publish-disabled blocks exist and what their publish authorization state is. CVSS 5.3 CVE-2026-145058 advisory · CVE-2026-145058 write-up
- CVE-2026-145056An authenticated Reader can distinguish publish-denied blocks from nonexistent ones via getBlockKramdowns responses and enumerate private notes. CVSS 5.3 CVE-2026-145056 advisory · CVE-2026-145056 write-up
- CVE-2026-145053An authenticated Reader can query the batchGetBlockAttrs endpoint to retrieve a visible block's full IAL and learn protected Attribute View identifiers and private database structure. CVSS 5.3 CVE-2026-145053 advisory · CVE-2026-145053 write-up
- CVE-2026-145049An authenticated Reader can fill the global UI process registry with arbitrary PIDs through the uiproc endpoint, blocking desktop UI registration and possibly causing the kernel to shut down. CVSS 5.3 CVE-2026-145049 advisory · CVE-2026-145049 write-up
- CVE-2026-145029An authenticated Reader can send deeply nested div elements to getContentWordCount to exhaust parser resources and degrade API availability. CVSS 5.3 CVE-2026-145029 advisory · CVE-2026-145029 write-up
- CVE-2026-145024An authenticated Reader can compare newDoc values in searchRefBlock to detect password-gated documents and enumerate their existence and titles by guessing titles. CVSS 5.3 CVE-2026-145024 advisory · CVE-2026-145024 write-up
- CVE-2026-145023A publish Reader can read hidden inline memo text appended to breadcrumb item names returned by getBlockBreadcrumbChildren. CVSS 5.3 CVE-2026-145023 advisory · CVE-2026-145023 write-up