CVE-2026-65605: SiYuan stored XSS to RCE in Attribute View database cells

CVE-2026-65605 · Severity: critical · CVSS 9.6 · Published 2026-07-23

SiYuan, a personal knowledge management system and note-taking application, is vulnerable to a security flaw in its database (Attribute View) feature. An attacker can embed malicious code into a database cell that triggers when a user views the affected page. Because the desktop version of the application has high-level system access enabled, this flaw allows the attacker to take full control of the user's computer and execute arbitrary commands.

Technologies: SiYuan. Vendors: SiYuan.

Quick answers

Is CVE-2026-65605 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-65605 being exploited in the wild.
How severe is CVE-2026-65605?
Critical severity, with a CVSS score of 9.6, published 23 July 2026.
Which products and versions are affected?
SiYuan < 3.7.2.
Is there a fix for CVE-2026-65605?
A patch was published on 2026-07-23: Fix confirmed in version 3.7.2 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-65605 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-65605?
Check whether you run SiYuan at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stored cross-site scripting (XSS) vulnerability exists in SiYuan's Attribute View (database) component due to improper HTML escaping in the 'Template' and 'URL' column types. The backend 'HasUnclosedHtmlTag' check fails to identify balanced self-closing tags like <img>, allowing malicious payloads to be stored unescaped. On the frontend, 'renderCell' inserts these values into the DOM using 'innerHTML'. In the desktop application, where 'nodeIntegration' is enabled, an attacker can use this XSS to access Node.js 'require' and execute arbitrary system commands. The vulnerability is fixed in version 3.7.2.

Affected products

  • siyuan-note SiYuan < 3.7.2

Timeline

  • 2026-07-10: advisory: GHSA-pw5c-qhf3-jhwh published
  • 2026-07-23: disclosed: NVD publication date
  • 2026-07-23: patched: Fix confirmed in version 3.7.2

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.