CVE-2026-50551 SiYuan: Stored XSS to RCE via Unsanitized Attribute View Asset Cell Content

Critical 9.9 Published Updated

Attackers can inject malicious scripts into asset cells, leading to remote code execution in the SiYuan Electron desktop client.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-50551?

CVE-2026-50551 is a critical cross-site scripting vulnerability in siyuan-note siyuan, published on 24 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan contains a stored cross-site scripting (XSS) vulnerability in the Attribute View (database) asset cell renderer that escalates to remote code execution (RCE) in the Electron desktop client. This vulnerability is fixed in 3.7.0.

Weakness: CWE-79

Which versions are affected by CVE-2026-50551?

3 open source packages ship an affected version, including github.com/siyuan-note/siyuan/kernel.

PackageAffectedFixed in
github.com/siyuan-note/siyuan/kernel GoAll versions0.0.0-20260628153353-2d5d72223df4
github.com/siyuan-note/siyuan/kernel GoAll versions0.0.0-20260628153353-2d5d72223df4
github.com/siyuan-note/siyuan/kernel GoAll versions0.0.0-20260628153353-2d5d72223df4

How do I fix CVE-2026-50551?

Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260628153353-2d5d72223df4 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-50551 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50551 exists.

Sources

Also known as GHSA-56mp-4f3v-fgj2, GO-2026-5967.

Is CVE-2026-50551 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free