CVE-2026-39846

SiYuan is a personal knowledge management system. Prior to 3.6.4, a malicious note synced to another user can trigger remote code execution in the SiYuan Electron desktop client. The root cause is that table caption content is stored without safe escaping and later unescaped into rendered HTML, creating a stored XSS sink. Because the desktop renderer runs with nodeIntegration enabled and contextIsolation disabled, attacker-controlled JavaScript executes with access to Node.js APIs. In practice, an attacker can import a crafted note into a synced workspace, wait for the victim to sync, and achieve code execution when the victim opens the note. This vulnerability is fixed in 3.6.4.
Configurations

Configuration 1 (hide)

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

History

20 Jul 2026, 20: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.4, una nota maliciosa sincronizada con otro usuario puede desencadenar la ejecución remota de código en el cliente de escritorio SiYuan Electron. La causa raíz es que el contenido de la leyenda de la tabla se almacena sin un escape seguro y luego se desescapa en HTML renderizado, creando un sumidero XSS almacenado. Debido a que el renderizador de escritorio se ejecuta con nodeIntegration habilitado y contextIsolation deshabilitado, el JavaScript controlado por el atacante se ejecuta con acceso a las API de Node.js. En la práctica, un atacante puede importar una nota manipulada en un espacio de trabajo sincronizado, esperar a que la víctima sincronice y lograr la ejecución de código cuando la víctima abre la nota. Esta vulnerabilidad está corregida en la versión 3.6.4.

16 Apr 2026, 04:32

Type Values Removed Values Added
First Time B3log
B3log siyuan
References () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-phhp-9rm9-6gr2 - () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-phhp-9rm9-6gr2 - Exploit, Vendor Advisory
CPE cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*

08 Apr 2026, 16:16

Type Values Removed Values Added
References () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-phhp-9rm9-6gr2 - () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-phhp-9rm9-6gr2 -

07 Apr 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-07 22:16

Updated : 2026-07-20 20:10


NVD link : CVE-2026-39846

Mitre link : CVE-2026-39846

CVE.ORG link : CVE-2026-39846


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')