CVE-2026-33066B3log Siyuan
Medium 5.3
Follow: this CVE · B3log · B3log Siyuan We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 4.0
- 5.3
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 20, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/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 a personal knowledge management system. In versions 3.6.0 and below, the backend renderREADME function uses lute.New() without calling SetSanitize(true), allowing raw HTML embedded in Markdown to pass through unmodified. The frontend then assigns the rendered HTML to innerHTML without any additional sanitization. A malicious package author can embed arbitrary JavaScript in their README that executes when a user clicks to view the package details. Because SiYuan's Electron configuration enables nodeIntegration: true with contextIsolation: false, this XSS escalates directly to full Remote Code Execution. The issue was patched in version 3.6.1.
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-20260314111550-b382f50e1880 |
0.0.0-20260314111550-b382f50e1880 |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260314111550-b382f50e1880 |
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260314111550-b382f50e1880 |
0.0.0-20260314111550-b382f50e1880 |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260314111550-b382f50e1880 |
Per OSV / GitHub Advisories (GHSA-4663-4mpg-879v, GO-2026-4743). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| b3log | siyuan | < 3.6.1 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:1135-1 · Mar 27, 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 Patch
- github.com Exploit Mitigation Vendor Advisory