CVE-2026-23852 Details
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.
A stored Cross-Site Scripting (XSS) vulnerability has been identified in SiYuan versions prior to 3.5.4. This vulnerability allows an attacker to inject arbitrary HTML attributes into the 'icon' attribute of a block through the '/api/attr/setBlockAttrs' API. The injected payload is later rendered in the dynamic icon feature without proper sanitization, leading to stored XSS. In the desktop environment, this could escalate to remote code execution (RCE). This vulnerability bypasses a previous fix for a similar issue, allowing the same exploitation vector to be reused.
Users should update to SiYuan version 3.5.4, which includes a fix for this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/siyuan-note/siyuan/commit/0be7e1d4e0da9aac0da850b7aeb9b50ede7e5bdb | [email protected] | Patch |
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7c6g-g2hx-23vv | [email protected] | ExploitPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| b3log siyuan | < 3.5.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 30, 2026 | Initial Analysis | [email protected] |
| Jan 19, 2026 | New CVE Received | [email protected] |