Live threats

All CVEs / B3log

CVE-2026-23847B3log Siyuan

Low 2.1 No auth needed

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.]

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-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)

VendorProductVersions
b3logsiyuan< 3.5.4

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.