CVE-2026-23847B3log Siyuan
Low 2.1 No auth needed
Follow: this CVE · B3log · B3log Siyuan We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 4.0
- 2.1
- EPSS
- —
- Auth required
- No
- Published
- Jan 19, 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:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P/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. Versions prior to 3.5.4 are vulnerable to reflected cross-site scripting in /api/icon/getDynamicIcon due to unsanitized SVG input. The endpoint generates SVG images for text icons (type=8). The content query parameter is inserted directly into the SVG <text> tag without XML escaping. Since the response Content-Type is image/svg+xml, injecting unescaped tags allows breaking the XML structure and executing JavaScript. Version 3.5.4 patches the issue.]
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-20260118021606-5c0cc375b475 |
0.0.0-20260118021606-5c0cc375b475 |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260118021606-5c0cc375b475 |
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260118021606-5c0cc375b475 |
0.0.0-20260118021606-5c0cc375b475 |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260118021606-5c0cc375b475 |
Per OSV / GitHub Advisories (GHSA-w836-5gpm-7r93, GO-2026-4343). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| b3log | siyuan | < 3.5.4 |
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:0403-1 · Feb 6, 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 Issue Tracking Patch
- github.com Exploit Patch Vendor Advisory