Live threats

All CVEs / B3log

CVE-2026-29183B3log Siyuan

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
—
Auth required
No
Published
Mar 6, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

SiYuan is a personal knowledge management system. Prior to version 3.5.9, an unauthenticated reflected XSS vulnerability exists in the dynamic icon API endpoint "GET /api/icon/getDynamicIcon" when type=8, attacker-controlled content is embedded into SVG output without escaping. Because the endpoint is unauthenticated and returns image/svg+xml, a crafted URL can inject executable SVG/HTML event handlers (for example onerror) and run JavaScript in the SiYuan web origin. This can be chained to perform authenticated API actions and exfiltrate sensitive data when a logged-in user opens the malicious link. This issue has been patched in version 3.5.9.

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-20260304034809-d68bd5a79391 0.0.0-20260304034809-d68bd5a79391 go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260304034809-d68bd5a79391
Go github.com/siyuan-note/siyuan/kernel < 0.0.0-20260304034809-d68bd5a79391 0.0.0-20260304034809-d68bd5a79391 go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260304034809-d68bd5a79391

Per OSV / GitHub Advisories (GHSA-6865-qjcf-286f, GO-2026-4596). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
b3logsiyuan< 3.5.9

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.