CVE-2026-130678: SiYuan before 3.8.10 Stored XSS to RCE via Attribute View Column Name
SiYuan before 3.8.10 contains a stored cross-site scripting vulnerability that allows attackers to execute script by storing malicious Attribute View column names rendered unescaped in col.ts. Attackers can inject HTML via addAttributeViewKey, .sy.zip import, or sync, and when a victim adds or duplicates the column, insertAdjacentHTML runs JavaScript with Node.js privileges for desktop code execution.
Affected Software
Event History
Frequently Asked Questions
Which users are exposed to code execution?
A user is exposed when they add or duplicate an Attribute View column whose stored name contains malicious HTML. In the desktop application, the resulting script executes with Node.js privileges, enabling code execution.
How can a malicious column name reach a vulnerable instance?
An attacker can inject it through addAttributeViewKey, by importing a .sy.zip file, or through sync. The payload is stored and later rendered unescaped in col.ts.
Does exploitation require victim interaction?
Yes. The victim must add or duplicate the malicious Attribute View column, which triggers insertAdjacentHTML and executes the stored script.
What versions should be treated as affected?
SiYuan versions before 3.8.10 are affected. The provided information does not specify mitigations other than upgrading beyond the affected version range.