Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. CVE-2026-34448

CVE-2026-34448: SiYuan: Stored XSS in Attribute View Gallery/Kanban Cover Rendering Allows Arbitrary Command Execution in Desktop Client

March 31, 2026 (updated April 6, 2026)

An attacker who can place a malicious URL in an Attribute View mAsse field can trigger stored XSS when a victim opens the Gallery or Kanban view with “Cover From -> Asset Field” enabled. The vulnerable code accepts arbitrary http(s) URLs without extensions as images, stores the attacker-controlled string in coverURL, and injects it directly into an <img src="..."> attribute without escaping. In the Electron desktop client, the injected JavaScript executes with nodeIntegration enabled and contextIsolation disabled, so the XSS reaches arbitrary OS command execution under the victim’s account.

References

  • github.com/advisories/GHSA-rx4h-526q-4458
  • github.com/siyuan-note/siyuan
  • github.com/siyuan-note/siyuan/issues/17246
  • github.com/siyuan-note/siyuan/releases/tag/v3.6.2
  • github.com/siyuan-note/siyuan/security/advisories/GHSA-rx4h-526q-4458
  • nvd.nist.gov/vuln/detail/CVE-2026-34448

Code Behaviors & Features

Detect and mitigate CVE-2026-34448 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.6.2

Fixed versions

  • 3.6.2

Solution

Upgrade to version 3.6.2 or above.

Impact 9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

go/github.com/siyuan-note/siyuan/kernel/CVE-2026-34448.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:01 +0000.