Description
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.]
References (3)
Core 3
Core References
Exploit, Vendor Advisory, Patch x_refsource_confirm
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w836-5gpm-7r93
Issue Tracking, Patch x_refsource_misc
https://github.com/siyuan-note/siyuan/issues/16844
Patch x_refsource_misc
https://github.com/siyuan-note/siyuan/commit/5c0cc375b47567e15edd2119066b09bb0aa18777
Scores
CVSS v3
6.1
EPSS
0.0005
EPSS Percentile
14.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (2)
b3log/siyuan
< 3.5.4
siyuan-note/siyuan
0 - 0.0.0-20260118021606-5c0cc375b475Go
Published
Jan 19, 2026
Tracked Since
Feb 18, 2026