Vulnerability 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.]
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| B3Log | Siyuan | < 3.5.4 |
Related Weaknesses (CWE)
References
- https://github.com/siyuan-note/siyuan/commit/5c0cc375b47567e15edd2119066b09bb0aaPatch
- https://github.com/siyuan-note/siyuan/issues/16844Issue TrackingPatch
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w836-5gpm-7r93ExploitVendor AdvisoryPatch
FAQ
What is CVE-2026-23847?
CVE-2026-23847 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 genera...
How severe is CVE-2026-23847?
CVE-2026-23847 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-23847?
Check the references section above for vendor advisories and patch information. Affected products include: B3Log Siyuan.