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

Published Jan 19, 2026
·
Updated

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 Software

2 affected components
SiYuan SiYuan<3.5.4
b3log SiYuan<3.5.4

Event History

Jan 19, 2026
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 20, 58071
Event
via FIRST·07:54 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-23852?

CVE-2026-23852 is considered a high severity vulnerability due to its potential for stored Cross-Site Scripting (XSS) and remote code execution (RCE).

2

How do I fix CVE-2026-23852?

To fix CVE-2026-23852, upgrade SiYuan to version 3.5.4 or later where the vulnerability has been addressed.

3

What type of vulnerability is CVE-2026-23852?

CVE-2026-23852 is a stored Cross-Site Scripting (XSS) vulnerability that can also lead to remote code execution (RCE).

4

Which versions of SiYuan are affected by CVE-2026-23852?

SiYuan versions prior to 3.5.4 are affected by CVE-2026-23852.

5

Can CVE-2026-23852 be exploited remotely?

Yes, CVE-2026-23852 can be exploited remotely, potentially allowing an attacker to execute arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203