CVE-2026-130682: SiYuan before 3.8.10 Stored XSS to RCE via Table Caption
SiYuan before 3.8.10 persists a table block's caption attribute into IAL properties without HTML sanitization, causing stored cross-site scripting upon import or sync. Attackers can inject an entity-encoded caption with an onerror handler that executes in the Electron client's nodeIntegration context to achieve remote code execution.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to exploitation?
Users running SiYuan versions before 3.8.10 are exposed when they import or synchronize content containing a malicious table caption. The payload executes in the Electron client that processes the stored content.
Does an attacker need an account or elevated privileges?
No privileges are required according to the supplied vector. Exploitation requires convincing a user to import or sync attacker-controlled content, which triggers execution when the stored caption is processed.
What is the impact if exploitation succeeds?
The injected script executes in the Electron client's nodeIntegration context. This can lead to remote code execution with high confidentiality, integrity, and availability impact.