CVE-2026-66396
siyuan-note · siyuan
A stored cross-site scripting vulnerability in SiYuan allows high-privileged attackers to achieve remote code execution via malicious title, image, or IAL inputs.
Executive summary
A stored cross-site scripting vulnerability in SiYuan allows an authenticated attacker to achieve remote code execution, posing a critical threat to system integrity.
Vulnerability
This vulnerability is a stored cross-site scripting flaw (CWE-79) that can be leveraged to execute arbitrary code. It requires an attacker to possess high-level privileges to inject malicious payloads into specific application fields.
Business impact
Successful exploitation of this vulnerability leads to full system compromise, as the XSS primitive can be escalated to remote code execution. Given the CVSS score of 8.4, this represents a high risk of data theft, unauthorized persistent access, and potential lateral movement within the network.
Remediation
Immediate Action: Update the SiYuan application to version 3.7.2 or later to apply the necessary security patches.
Proactive Monitoring: Monitor application logs for suspicious input patterns in title or metadata fields that may indicate injection attempts.
Compensating Controls: Implement a Content Security Policy (CSP) to restrict the execution of unauthorized scripts within the application environment.
Exploitation status
Public Exploit Available: No (no weaponized exploit confirmed).
Analyst recommendation
The potential for remote code execution makes this a severe security concern. Administrators must prioritize updating to version 3.7.2 immediately to neutralize the risk of unauthorized command execution.