---
id: CVE-2026-34448
title: SiYuan is a personal knowledge management system
summary: >-
  SiYuan is a personal knowledge management system. Prior to version 3.6.2, 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 -…
severity: critical
cvss: 9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'
cwe:
  - CWE-79
  - CWE-94
vendor: b3log
product: siyuan
affected:
  - siyuan < 3.6.2
patched:
  - siyuan 3.6.2
published: '2026-03-31'
updated: '2026-07-24'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-34448'
references:
  - url: 'https://github.com/siyuan-note/siyuan/issues/17246'
    label: security-advisories@github.com
  - url: 'https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2'
    label: security-advisories@github.com
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rx4h-526q-4458
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00726
epssPercentile: 0.5212
ingestedAt: '2026-07-25T21:03:58.004Z'
---

## Overview

SiYuan is a personal knowledge management system. Prior to version 3.6.2, 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. This issue has been patched in version 3.6.2.

## Affected

- `siyuan < 3.6.2`

## Remediation

Upgrade past the affected range:

- `siyuan 3.6.2`
