CVE-2026-34448

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) SiYuan es un sistema de gestión de conocimiento personal. Antes de la versión 3.6.2, un atacante que puede colocar una URL maliciosa en un campo 'mAsse' de la vista de atributos puede desencadenar XSS almacenado cuando una víctima abre la vista de Galería o Kanban con 'Cubrir desde -> Campo de activo' habilitado. El código vulnerable acepta URLs HTTP(s) arbitrarias sin extensiones como imágenes, almacena la cadena controlada por el atacante en 'coverURL' y la inyecta directamente en un atributo '<img src="..."> sin escapar. En el cliente de escritorio Electron, el JavaScript inyectado se ejecuta con 'nodeIntegration' habilitado y 'contextIsolation' deshabilitado, por lo que el XSS alcanza la ejecución arbitraria de comandos del sistema operativo bajo la cuenta de la víctima. Este problema ha sido parcheado en la versión 3.6.2.

03 Apr 2026, 16:58

Type Values Removed Values Added
References () https://github.com/siyuan-note/siyuan/issues/17246 - () https://github.com/siyuan-note/siyuan/issues/17246 - Issue Tracking
References () https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2 - () https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2 - Release Notes
References () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rx4h-526q-4458 - () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rx4h-526q-4458 - Exploit, Vendor Advisory
CPE cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
First Time B3log siyuan
B3log

31 Mar 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-31 22:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-34448

Mitre link : CVE-2026-34448

CVE.ORG link : CVE-2026-34448


JSON object : View

Products Affected

b3log

  • siyuan
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-94

Improper Control of Generation of Code ('Code Injection')