SiYuan: execute OS commands via stored XSS
CriticalAI-generated2026-11-19
- CVE
- CVE-2026-130679
- Severity
- Critical (CVSS 9.0)
- Attack conditions
- Remotely, over the network · A regular user account is needed · A user must take some action
- Exploitation probability (EPSS)
- 0.3% (within 30 days; FIRST EPSS, 22 November 2026)
Summary
SiYuan versions prior to 3.8.10 are vulnerable to a stored cross-site scripting flaw that lets attackers inject malicious image tags. When a victim opens the crafted note, the code can run operating-system commands.
Details
According to the NVD record, SiYuan before version 3.8.10 contains a stored cross-site scripting vulnerability in the function that renders attribute view values. An attacker who can store attribute view asset values can embed an image tag with a double quote and an onerror handler.
When a user opens the note or attribute panel that contains the malicious image, the onerror handler triggers and can execute operating-system commands through Node.js in the desktop application.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 18 November 2026 NVD record published
- 19 November 2026 This article was written