ADVISORIES

Vulnerability

CVE-2026-23847

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

4 advisories report this vulnerability, across 2 ecosystems.

Low severity All Go 2openSUSE 2

Advisories in Go

  • GHSA-w836-5gpm-7r93

    SiYuan has a Reflected Cross-Site Scripting (XSS) via /api/icon/getDynamicIcon

    Low CVE-2026-23847 Go Updated 3 February 2026
  • GO-2026-4343

    SiYuan has a Reflected Cross-Site Scripting (XSS) via /api/icon/getDynamicIcon in github.com/siyuan-note/siyuan/kernel

    CVE-2026-23847 Go Updated 3 March 2026

References