CVE 5.8 MEDIUM

SiYuan vulnerable to Stored XSS / RCE via `setBlockAttrs` icon attribute_CVE-2026-23852

5.8 / 10
MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:P

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.

Basic Information

ID CVE-2026-23852
Source GitHub_M
Published Jan 19, 2026 at 20:00

Affected Product

Vendor siyuan-note
Product siyuan
Version < 3.5.4
Affected Versions siyuan-note siyuan < 3.5.4

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.