CVE-2026-130681: SiYuan before 3.8.10 Stored XSS to RCE via Attribute View Name
SiYuan before 3.8.10 contains a stored cross-site scripting vulnerability, an incomplete fix for CVE-2026-44670, because renderAVAttribute() inserts an Attribute View name unescaped into the database row attribute panel header. Attackers who can persist the name, such as via the setAttrViewName action, can inject an onerror handler that runs OS commands through Node.js when a desktop user opens the panel.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.8.10
Event History
Frequently Asked Questions
Which users are at risk of triggering the payload?
Desktop users are at risk when they open the database row attribute panel containing a malicious Attribute View name. The injected handler executes in the desktop application's Node.js context.
What access does an attacker need to exploit this issue?
An attacker needs the ability to persist a crafted Attribute View name, for example through the setAttrViewName action. Exploitation also requires a desktop user to open the affected panel.
Is this related to an earlier issue?
Yes. The issue is described as an incomplete fix for CVE-2026-44670, with the remaining unescaped Attribute View name being inserted into the panel header.