Live threats

All CVEs / siyuan-note

CVE-2026-44670siyuan-note siyuan

Critical 9.4 No auth needed

Priority
71
CVSS 4.0
9.4
EPSS
—
Auth required
No
Published
May 14, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-94, CWE-1188
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for siyuan.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.