Vulnerability

CVE-2026-23852

mediumCVSS 4.0 5.8Published 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 have a stored Cross-Site Scripting (XSS) vulnerability that allows an attacker to inject arbitrary HTML attributes into the `icon` attribute of a block via the `/api/attr/setBlockAttrs` API. The payload is later rendered in the dynamic icon feature in an unsanitized context, leading to stored XSS and, in the desktop environment, potential remote code execution (RCE). This issue bypasses the previous fix for issue `#15970` (XSS → RCE via dynamic icons). Version 3.5.4 contains an updated fix.

Affected products

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

  • B3log siyuan

Weakness type

References

  • github.com /siyuan-note/siyuan/commit/0be7e1d4e0da9aac0da850b7aeb9b50e…
  • github.com /siyuan-note/siyuan/security/advisories/GHSA-7c6g-g2hx-23vv

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

Start scanning