Low severityOSV Advisory· Published Jan 19, 2026· Updated Jan 20, 2026
SiYuan Vulnerable to Reflected Cross-Site Scripting (XSS) via /api/icon/getDynamicIcon
CVE-2026-23847
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 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.]
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/siyuan-note/siyuan/kernelGo | < 0.0.0-20260118021606-5c0cc375b475 | 0.0.0-20260118021606-5c0cc375b475 |
Affected products
3- Range: dev2.0.17-2, v0.1.0, v0.1.1, …
- ghsa-coords2 versionspkg:golang/github.com/siyuan-note/siyuan/kernelpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 0.0.0-20260118021606-5c0cc375b475+ 1 more
- (no CPE)range: < 0.0.0-20260118021606-5c0cc375b475
- (no CPE)range: < 0.0.20260205T172317-150000.1.146.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-w836-5gpm-7r93ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-23847ghsaADVISORY
- github.com/siyuan-note/siyuan/commit/5c0cc375b47567e15edd2119066b09bb0aa18777ghsax_refsource_MISCWEB
- github.com/siyuan-note/siyuan/issues/16844ghsax_refsource_MISCWEB
- github.com/siyuan-note/siyuan/security/advisories/GHSA-w836-5gpm-7r93ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.