Vulnerability

CVE-2026-23847

lowCVSS 4.0 2.1Published 19 Jan 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

Affected products

From the NVD's configuration data (CPE), vendor first.

  • B3log siyuan

Weakness type

References

  • github.com /siyuan-note/siyuan/commit/5c0cc375b47567e15edd2119066b09bb…
  • github.com /siyuan-note/siyuan/issues/16844
  • github.com /siyuan-note/siyuan/security/advisories/GHSA-w836-5gpm-7r93

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning