Moderate severityOSV Advisory· Published Jan 16, 2026· Updated Jan 16, 2026
SiYuan Vulnerable to Stored Cross-Site Scripting (XSS) via Unrestricted SVG File Upload
CVE-2026-23645
Description
SiYuan is self-hosted, open source personal knowledge management software. Prior to 3.5.4-dev2, a Stored Cross-Site Scripting (XSS) vulnerability exists in SiYuan Note. The application does not sanitize uploaded SVG files. If a user uploads and views a malicious SVG file (e.g., imported from an untrusted source), arbitrary JavaScript code is executed in the context of their authenticated session. This vulnerability is fixed in 3.5.4-dev2.
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-20260116101155-11115da3d0de | 0.0.0-20260116101155-11115da3d0de |
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-20260116101155-11115da3d0de+ 1 more
- (no CPE)range: < 0.0.0-20260116101155-11115da3d0de
- (no CPE)range: < 0.0.20260205T172317-150000.1.146.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-pcjq-j3mq-jv5jghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-23645ghsaADVISORY
- github.com/siyuan-note/siyuan/commit/11115da3d0de950593ee4ce375cf7f9018484388ghsax_refsource_MISCWEB
- github.com/siyuan-note/siyuan/issues/16844ghsax_refsource_MISCWEB
- github.com/siyuan-note/siyuan/security/advisories/GHSA-pcjq-j3mq-jv5jghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.