CVE-2026-145039: SiYuan before 3.8.11 Stored XSS via Asset Picker Filename
SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability in the protyle asset picker's renderAssetList, which inserts unescaped asset filenames via innerHTML. Attackers can supply a .sy.zip import with a malicious filename that runs script when the victim opens the asset picker, reaching Node APIs for code execution.
Affected Software
Event History
Frequently Asked Questions
What must an attacker do for the malicious script to execute?
The attacker must provide a .sy.zip import containing an asset with a malicious filename. A victim must then open the asset picker, which renders the filename without escaping it.
Is user interaction required?
Yes. Although the malicious filename is stored through the imported content, execution occurs when a victim opens the asset picker.
What is the likely impact after successful exploitation?
The injected script can reach Node APIs, allowing code execution. The stated impact includes high confidentiality, integrity, and availability effects.