SiYuan before 3.8.11 has a critical stored cross-site scripting flaw in its asset picker: a crafted asset filename can run script that reaches Node APIs and executes code.
What Is It
CVE-2026-145039 is a stored cross-site scripting vulnerability (CWE-79) in SiYuan, the note-taking application from siyuan-note. The flaw is in the protyle asset picker's renderAssetList function, which inserts asset filenames into the page via innerHTML without escaping them.
An attacker can supply a .sy.zip import that contains an asset with a malicious filename. When the victim opens the asset picker, the filename is rendered and the injected script runs. According to the NVD description, the script can reach Node APIs, which gives the attacker code execution rather than just a browser-context XSS.
Why It Matters
VulnCheck, the CNA, rates the flaw 9.0 CRITICAL under CVSS 3.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H) and 9.4 CRITICAL under CVSS 4.0. The vector shows network attack, low complexity, low privileges required, and a changed scope, with high impact to confidentiality, integrity and availability. User interaction is required: the victim has to import the crafted archive and open the asset picker.
The supplied data contains no CISA KEV entry, so active exploitation is not confirmed in KEV at this time. NVD lists the record's status as "Deferred." The CVE was published on 2026-12-04.
What's Vulnerable
- Vendor/Product: siyuan-note / SiYuan
- Affected: SiYuan versions before 3.8.11. The CNA's affected data lists the range starting at 3.8.10, below 3.8.11.
- Also affected: pre-release builds starting at 3.8.11-beta.3, below the 3.8.11 release
- Not affected: 3.8.11
Patch Status
The CNA lists SiYuan 3.8.11 as unaffected. Users should upgrade to 3.8.11 or later. Until they do, they should not import .sy.zip archives from untrusted sources. The supplied data contains no CISA KEV required action or due date.