Security readout for executives and security teams
Plain-English summary
CVE-2026-23852 affects SiYuan, a personal knowledge management app. Before version 3.5.4, attackers can store unsafe content in a block icon attribute. When later viewed, it can run script in the user’s session and may become remote code execution in the desktop app. Upgrade priority is higher for desktop or shared SiYuan deployments.
Executive priority
Treat as urgent for organizations using SiYuan desktop or collaborative/shared notebooks. The business risk is unauthorized script execution and possible code execution on endpoints. Patch to 3.5.4 should be scheduled promptly, especially where external or low-trust content is handled.
Technical view
Versions before SiYuan 3.5.4 allow arbitrary HTML attributes in the block `icon` attribute through `/api/attr/setBlockAttrs`. The dynamic icon renderer later uses this data without sufficient sanitization, causing stored XSS and potential desktop RCE. The advisory says this bypasses a prior fix for issue #15970. CVSS v4 score is 5.8.
Likely exposure
Exposure is limited to SiYuan installations below 3.5.4. Risk is greatest where untrusted users can create or modify blocks, or where desktop clients open shared or attacker-influenced content.
Exploitation context
The sources describe stored XSS with user interaction required and potential RCE in desktop environments. CISA KEV status is false in the provided bundle, and no cited source states active exploitation.
Researcher notes
The vulnerability is a stored XSS-to-potential-RCE issue in dynamic icon handling. It is specifically described as a bypass of the earlier #15970 fix. Public sources identify the fixed version and commit, but do not provide evidence of exploitation in the wild.
Mitigation direction
- Upgrade SiYuan to version 3.5.4 or later.
- Review the GitHub advisory for vendor guidance and any deployment-specific notes.
- Restrict untrusted access to block attribute modification until upgraded.
- Avoid opening untrusted shared workspaces or notes on desktop clients before remediation.
Validation and detection
- Inventory SiYuan desktop and server versions across managed systems.
- Confirm all installations report version 3.5.4 or later.
- Review access paths to `/api/attr/setBlockAttrs` in exposed deployments.
- Check vendor advisory and commit references against deployed build provenance.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-94: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupExecution behavior lookup
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2026-23852 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 5.8 (4.0)
- Known Exploited
- No
- Published
Vector: 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
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
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——Primary CVE scoreVulnerability scoring details
Base CVSS 4.0 score
5.8MediumVector: 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
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7c6g-g2hx-23vvCVE reference · x_refsource_CONFIRM
- https://github.com/siyuan-note/siyuan/commit/0be7e1d4e0da9aac0da850b7aeb9b50ede7e5bdbCVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Control of Generation of Code ('Code Injection')
Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
