Skip to main content
← All vulnerabilities
CVE-2026-23847GO-2026-4343GHSA-W836-5GPM-7R93

SiYuan Vulnerable to Reflected Cross-Site Scripting (XSS) via /api/icon/getDynamicIcon

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.5.4, 0.0.0-20260118021606-5c0cc375b475
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.]

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • siyuan-note siyuan

    fixed in 3.5.4

  • github.com/siyuan-note/siyuan/kernelGo

    fixed in 0.0.0-20260118021606-5c0cc375b475

References 3

GitHub · siyuan-note/siyuan