CVE-2026-39846: Vulnerability in B3log Siyuan

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

Go, CWE-79, CWE-94

Exploitation
None confirmed
Severity
9 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-phhp-9rm9-6gr2
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Weakness
CWE-79, CWE-94
Published
7 Apr 2026
Last change
20 Jul 2026
Ecosystem
Go

Affected products

Affected versions and the first fixed release

  • B3log Siyuan Before 3.6.4. Fixed in 3.6.4

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/siyuan-note/siyuan/kernel Go, Affected before 0.0.0-20260407035653-2f416e5253f1. Fixed in 0.0.0-20260407035653-2f416e5253f1

Advisories

Vendor and security advisories

Related