CVE-2026-73044
9.0siyuan-note · siyuan
SiYuan versions before 3.7.4 are vulnerable to stored cross-site scripting via the setAttrViewColWidth API, which can lead to arbitrary code execution within the Electron renderer.
Executive summary
A critical stored cross-site scripting vulnerability in SiYuan allows authenticated attackers to execute arbitrary code with Node integration enabled.
Vulnerability
This is a CWE-79 vulnerability where improper validation of table column width values permits malicious injection into style attributes. The vulnerability requires low privileges and user interaction, allowing an attacker to inject event handlers that trigger code execution in the Electron environment.
Business impact
The exploitation of this vulnerability results in full system compromise, as the application runs with Node integration enabled. Given the CVSS score of 9.0, this represents a critical risk where an attacker can gain unauthorized control over the host system, leading to data exfiltration or total loss of system integrity.
Remediation
Immediate Action: Update siyuan-note siyuan to version 3.7.4 or later to apply the necessary input validation and sanitization fixes.
Proactive Monitoring: Review application logs for unusual API calls to setAttrViewColWidth and monitor for unexpected process spawning from the SiYuan application.
Compensating Controls: Implement strict Content Security Policy (CSP) headers if possible to restrict the execution of unauthorized scripts within the application interface.
Exploitation status
Public Exploit Available: No
Analyst recommendation
This vulnerability presents a severe risk to host system integrity. All administrators should prioritize updating to version 3.7.4 immediately to remediate this flaw and prevent potential remote code execution.