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

Configuration 1 (hide)

cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*

History

17 Jun 2026, 10:22

Type Values Removed Values Added
References () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w836-5gpm-7r93 - Exploit, Vendor Advisory, Patch () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w836-5gpm-7r93 - Exploit, Patch, Vendor Advisory
Summary
  • (es) SiYuan es un sistema de gestión de conocimiento personal. Las versiones anteriores a la 3.5.4 son vulnerables a cross-site scripting reflejado en /API/icon/getDynamicIcon debido a una entrada SVG no saneada. El endpoint genera imágenes SVG para iconos de texto (type=8). El parámetro de consulta content se inserta directamente en la etiqueta SVG sin escape XML. Dado que el Content-Type de la respuesta es image/svg+xml, la inyección de etiquetas sin escape permite romper la estructura XML y ejecutar JavaScript. La versión 3.5.4 corrige el problema.

30 Jan 2026, 15:36

Type Values Removed Values Added
CPE cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
First Time B3log
B3log siyuan
References () https://github.com/siyuan-note/siyuan/commit/5c0cc375b47567e15edd2119066b09bb0aa18777 - () https://github.com/siyuan-note/siyuan/commit/5c0cc375b47567e15edd2119066b09bb0aa18777 - Patch
References () https://github.com/siyuan-note/siyuan/issues/16844 - () https://github.com/siyuan-note/siyuan/issues/16844 - Issue Tracking, Patch
References () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w836-5gpm-7r93 - () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w836-5gpm-7r93 - Exploit, Vendor Advisory, Patch

19 Jan 2026, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-19 20:15

Updated : 2026-06-17 10:22


NVD link : CVE-2026-23847

Mitre link : CVE-2026-23847

CVE.ORG link : CVE-2026-23847


JSON object : View

Products Affected

b3log

  • siyuan
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')