CVE-2026-145062: SiYuan 3.8.10 before 3.8.11 Stored XSS via imported .sy.zip attribute name
SiYuan 3.8.10 before 3.8.11 fails to escape custom block attribute names from imported .sy.zip files in openFileAttr's attribute panel. Attackers can craft an attribute name containing an img onerror handler that runs in the kernel origin when a victim opens the attribute panel, enabling command execution on the host.
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.11
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of SiYuan 3.8.10 who import a crafted .sy.zip file and then open the affected file's attribute panel are exposed. The payload executes in the kernel origin, which can enable command execution on the host.
What must an attacker do for exploitation to succeed?
An attacker must create a .sy.zip import containing a custom block attribute name with an img onerror handler and convince a victim to import it. Exploitation is triggered when the victim opens the attribute panel through openFileAttr.
Is user interaction required?
Yes. The victim must open the attribute panel after importing the malicious .sy.zip file; the supplied vector has a user-interaction requirement.
Which versions should be remediated?
The issue affects SiYuan 3.8.10 before 3.8.11. Updating to 3.8.11 or later addresses the affected version range described in the advisory.