CVE-2026-34448: SiYuan stored XSS and RCE in Attribute View gallery cover rendering

CVE-2026-34448 · Severity: critical · CVSS 9 · Published 2026-03-31

SiYuan is a personal knowledge management system used for organizing notes and data. A security flaw allows an attacker to embed malicious code within a database field that, when viewed by another user in specific layouts like Gallery or Kanban, can take over the victim's computer. In the desktop version of the application, this could lead to the unauthorized execution of system commands, potentially resulting in data theft or full system compromise.

Technologies: github.com/siyuan-note/siyuan/kernel (Go), SiYuan. Vendors: Go, SiYuan.

Quick answers

Is CVE-2026-34448 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-34448 being exploited in the wild.
How severe is CVE-2026-34448?
Critical severity, with a CVSS score of 9, published 31 March 2026.
Which products and versions are affected?
github.com/siyuan-note/siyuan/kernel (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=3.6.2; SiYuan < 3.6.2.
Is there a fix for CVE-2026-34448?
Yes. github.com/siyuan-note/siyuan/kernel (Go): upgrade to 3.6.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-34448 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-34448?
Check whether you run github.com/siyuan-note/siyuan/kernel (Go) or 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.

How to fix

  • github.com/siyuan-note/siyuan/kernel (Go): upgrade to 3.6.2 or later
    go get github.com/siyuan-note/siyuan/kernel@v3.6.2

Technical details

A stored Cross-Site Scripting (XSS) vulnerability exists in SiYuan's Attribute View rendering. The application fails to sanitize URLs in the 'mAsse' field when used as a cover image in Gallery or Kanban views. Specifically, the 'IsPossiblyImage' function accepts arbitrary HTTP(S) URLs, which are then injected directly into an <img> tag's 'src' attribute without escaping. An attacker can use a payload to break out of the attribute and inject an 'onerror' handler. In the Electron-based desktop client, 'nodeIntegration' is enabled and 'contextIsolation' is disabled, allowing the injected JavaScript to access Node.js APIs and execute arbitrary OS commands. This has been patched in version 3.6.2.

Affected products

  • siyuan-note SiYuan < 3.6.2

Identifiers

  • CVE-2026-34448
  • GHSA-rx4h-526q-4458
  • GO-2026-5644

Timeline

  • 2026-03-18: other: Issue reported to vendor
  • 2026-03-28: advisory: Vendor security advisory published
  • 2026-03-31: patched: Version 3.6.2 released
  • 2026-03-31: disclosed: CVE-2026-34448 published

References

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