Stored XSS to RCE in SiYuan Attribute View Cover Asset Handling
CVE-2026-34448 affects SiYuan, a personal knowledge management system. In versions prior to 3.6.2, an attacker who can place a malicious URL into an Attribute View mAsse field can trigger a stored cross-site scripting condition when a victim opens the Gallery or Kanban view with "Cover From -> Asset Field" enabled. The vulnerable logic accepts arbitrary HTTP(S) URLs without file extensions as image sources, stores the attacker-controlled value in coverURL, and injects it directly into an <img src="..."> attribute without proper escaping or neutralization. In the Electron desktop client, the impact is amplified because nodeIntegration is enabled and contextIsolation is disabled, allowing injected JavaScript to escape the browser context and reach arbitrary operating system command execution under the victim user context.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation yields stored XSS in SiYuan and, in the Electron desktop client, can escalate to arbitrary OS command execution as the victim user. This can result in full compromise of the victim’s SiYuan data, theft of locally accessible secrets, arbitrary file access within the user’s permissions, installation of persistence mechanisms, lateral movement opportunities via harvested credentials or tokens, and potential disruption or destruction of user data. The provided context indicates high impact to confidentiality, integrity, and availability.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, reduce exposure by preventing untrusted users from writing attacker-controlled values into Attribute View mAsse fields, disabling or avoiding Gallery and Kanban views that use "Cover From -> Asset Field," and restricting use of untrusted shared content. In the Electron client, hardening measures such as disabling nodeIntegration and enabling contextIsolation would reduce the XSS-to-RCE escalation path, though the provided context only confirms these settings as contributing factors rather than documenting them as an official vendor mitigation.
Patch, then assume compromise.
Upgrade SiYuan to version 3.6.2 or later, which patches the vulnerable handling of attacker-controlled cover URLs. Apply the vendor fix referenced in the SiYuan 3.6.2 release and associated GitHub Security Advisory. Any deployment remaining on versions prior to 3.6.2 should be considered vulnerable.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.