CVE-2026-50551

SiYuan · SiYuan

A stored cross-site scripting (XSS) vulnerability in the SiYuan Attribute View allows for remote code execution (RCE) within the Electron desktop client.

Executive summary

The SiYuan personal knowledge management system is vulnerable to a critical stored XSS flaw that enables remote code execution on the desktop client.

Vulnerability

This vulnerability involves a stored XSS flaw within the database asset cell renderer. An attacker can leverage this to execute arbitrary code within the context of the Electron desktop client, bypassing standard application boundaries.

Business impact

The ability to achieve remote code execution poses a severe threat to data integrity, confidentiality, and host security. With a CVSS score of 9.9, this vulnerability could allow an attacker to gain full control over the user's local machine, leading to total compromise of personal knowledge data and potentially lateral movement within the host environment.

Remediation

Immediate Action: Upgrade the SiYuan desktop client to version 3.7.0 or later immediately to apply the necessary security patches.

Proactive Monitoring: Monitor local system activity for unusual process spawning originating from the SiYuan application.

Compensating Controls: Ensure the application is running in an environment with restricted permissions to limit the impact of a potential RCE event.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

Given the critical nature of this RCE vulnerability, immediate action is required. Organizations and individuals using the SiYuan desktop client must prioritize updating to version 3.7.0 to eliminate the execution vector and protect sensitive local data.