CVE-2026-23645 SiYuan Vulnerable to Stored Cross-Site Scripting (XSS) via Unrestricted SVG File Upload
MediumCVSS 5.3
EPSS 0.41%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| b3log siyuan | < 3.5.4; = 3.5.4-dev1 | 3.5.4 | Fixed |
| siyuan-note github.com/siyuan-note/siyuan/kernel(Go) | < 0.0.0-20260116101155-11115da3d0de | 0.0.0-20260116101155-11115da3d0de | Fixed |
| siyuan-note siyuan | = < 3.5.4-dev2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| siyuan-note github.com/siyuan-note/siyuan/kernel(Go) | < 0.0.0-20260116101155-11115da3d0de | 0.0.0-20260116101155-11115da3d0de |
| siyuan-note siyuan | = < 3.5.4-dev2 | No fix listed |
| b3log siyuan | < 3.5.4 | 3.5.4 |
| b3log siyuan | = 3.5.4-dev1 | No fix listed |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pcjq-j3mq-jv5j exploit patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/siyuan-note/siyuan/issues/16844 issue-tracking patch
- https://github.com/siyuan-note/siyuan/commit/11115da3d0de950593ee4ce375cf7f9018484388 patch
- github.com product
- github.com