CVE-2026-44670siyuan-note siyuan
Critical 9.4 No auth needed
Follow: this CVE · siyuan-note · siyuan-note siyuan We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.4
- EPSS
- —
- Auth required
- No
- Published
- May 14, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the kernel stores Attribute View (AV / database) names without any HTML escape, then a render template uses raw strings.ReplaceAll(tpl, "${avName}", nodeAvName) to embed the name in HTML before pushing to all clients via WebSocket. Three independent client paths (render.ts:120 → outerHTML, Title.ts:401 → innerHTML, transaction.ts:559 → innerHTML) consume the value without escaping. Because the main BrowserWindow runs nodeIntegration:true, contextIsolation:false, webSecurity:false (app/electron/main.js:407-411), HTML injection in the renderer becomes Node.js code execution. This vulnerability is fixed in 3.7.0.
What to do
- Apply the vendor's security update for siyuan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260512140701-d7b77d945e0d |
0.0.0-20260512140701-d7b77d945e0d |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260512140701-d7b77d945e0d |
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260512140701-d7b77d945e0d |
0.0.0-20260512140701-d7b77d945e0d |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260512140701-d7b77d945e0d |
Per OSV / GitHub Advisories (GHSA-2h64-c999-c9r6, GO-2026-4992). Check the version in your lockfile before upgrading.
Affected products
- siyuan-note · siyuan
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
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.