Skip to content

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

MediumCVSS 5.8 EPSS 0.93%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
b3log siyuan < 3.5.4 3.5.4 Fixed
siyuan-note siyuan = < 3.5.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
siyuan-note siyuan = < 3.5.4 No fix listed
b3log siyuan < 3.5.4 3.5.4

References