CVE-2026-73052: SiYuan before v3.7.4 Stored XSS via Attribute-View Field Names
SiYuan before v3.7.4 stores attribute-view field names without HTML escaping and interpolates them directly into option elements via innerHTML in the sort menu. Attackers can inject markup by renaming a database field to execute arbitrary JavaScript when users open the sort menu, with Node integration enabled in the desktop client enabling code execution.
Security readout for executives and security teams
Plain-English summary
A low-privileged attacker can place malicious content in a SiYuan database field name. When another user opens that database’s sort menu, the content can run as JavaScript. In affected desktop clients with Node integration, this may extend beyond application data compromise to execution of code on the user’s computer.
Executive priority
Treat this as an urgent upgrade because interaction with shared malicious content could compromise sensitive data and, on Node-enabled desktops, the endpoint itself. Prioritize exposed collaborative environments and privileged users. There is no supplied evidence of active exploitation, but the impact and low attack complexity justify prompt action.
Technical view
SiYuan versions before 3.7.4 fail to HTML-escape attribute-view field names before inserting them into sort-menu option elements through innerHTML. This creates stored cross-site scripting requiring field-renaming access and a victim to open the sort menu. The supplied CVSS 4.0 score is 9.4; Node-enabled desktop clients can expose the host to code execution.
Likely exposure
Deployments running SiYuan earlier than 3.7.4 are potentially affected. Risk is greatest for desktop clients with Node integration, especially where lower-trust users can rename fields in databases used by others. The supplied evidence does not establish exposure for any specific organization.
Exploitation context
Exploitation requires a low-privileged attacker to rename a database field and another user to open the affected sort menu. The bundle marks this CVE as absent from KEV and provides no evidence of active exploitation. Public technical advisories may increase future attacker interest.
Researcher notes
The vulnerable path combines persistent, unescaped field names with an innerHTML option-rendering sink. Privileges and user interaction are required, but persistence makes victim targeting practical. Host code execution is specifically tied to Node integration in the desktop client. The bundle does not provide observed exploitation, forensic indicators, or details about alternative mitigations.
Mitigation direction
Upgrade every affected SiYuan installation to version 3.7.4 or later, following the vendor advisory.
Prioritize desktop clients with Node integration and databases shared with lower-trust users.
Restrict untrusted users from renaming database fields until affected installations are upgraded.
Review the vendor advisory for any additional supported mitigations or release guidance.
Validation and detection
Inventory SiYuan installations and record their exact versions, deployment types, and Node integration status.
Confirm no deployed SiYuan version is earlier than 3.7.4.
Review available history or audit records for unexpected database field-name changes.
Verify updated clients safely display field names when users open the sort menu.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
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 · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. 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.
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.
The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
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.
2CVSS vectors
3Timeline events
1ADP providers
3Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We 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.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation
Improper Neutralization of Input During Web Page Generation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.