CVE-2026-39846B3log Siyuan
Critical 9.0
Follow: this CVE · B3log · B3log Siyuan We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 9.0
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 7, 2026
- Updated
- Jul 20, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Siyuan.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260407035653-2f416e5253f1 |
0.0.0-20260407035653-2f416e5253f1 |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260407035653-2f416e5253f1 |
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260407035653-2f416e5253f1 |
0.0.0-20260407035653-2f416e5253f1 |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260407035653-2f416e5253f1 |
Per OSV / GitHub Advisories (GHSA-phhp-9rm9-6gr2, GO-2026-5540). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| b3log | siyuan | < 3.6.4 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory