{"id":"CVE-2026-23847","aliases":["GHSA-w836-5gpm-7r93","GO-2026-4343"],"url":"https://o3.security/vulnerability/CVE-2026-23847","summary":"SiYuan Vulnerable to Reflected Cross-Site Scripting (XSS) via /api/icon/getDynamicIcon","details":"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.]","published":"2026-01-19T19:46:08.980Z","modified":"2026-08-12T03:51:41.773119582Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","fixedVersion":"0.0.0-20260118021606-5c0cc375b475"}],"fix":{"url":"https://github.com/siyuan-note/siyuan/commit/5c0cc375b47567e15edd2119066b09bb0aa18777","label":"siyuan-note/siyuan@5c0cc37"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23847.json"},{"type":"ADVISORY","url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w836-5gpm-7r93"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23847"},{"type":"REPORT","url":"https://github.com/siyuan-note/siyuan/issues/16844"},{"type":"FIX","url":"https://github.com/siyuan-note/siyuan/commit/5c0cc375b47567e15edd2119066b09bb0aa18777"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:41.773119582Z"}}