CVE-2026-50551
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedSiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan contains a stored cross-site scripting (XSS) vulnerability in the Attribute View (database) asset cell renderer that escalates to remote code execution (RCE) in the Electron desktop client. This vulnerability is fixed in 3.7.0.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceSiYuan prior to 3.7.0 contains a stored cross-site scripting vulnerability in the Attribute View (database) asset cell renderer. When exploited in the Electron desktop client, this XSS can be chained to achieve remote code execution, giving attackers full system access.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check if SiYuan is installedLook for SiYuan application in system (Windows: Program Files or AppData, macOS: Applications folder, Linux: standard application paths). Also check for running processes named 'siyuan' or 'SiYuan'.Affected if SiYuan application is present on the system
-
Identify installed SiYuan versionIn the desktop client: Help > About. In the kernel: check /workspace/siyuan/kernel/version.go or run 'siyuan --version' if CLI available. Compare the version number to 3.7.0.Affected if Version is lower than 3.7.0 (e.g., 3.6.x, 3.5.x, etc.)
-
Determine if using Electron desktop clientCheck if running the desktop Electron app versus browser/web client. The Electron client typically has 'SiYuan' in the window title and runs as a standalone desktop process. The XSS-to-RCE chain only applies to the Electron client.Affected if Running the Electron desktop client version lower than 3.7.0
-
Check if Attribute View/database is accessibleWithin SiYuan, create or open a notebook and navigate to any document. Create or view an Attribute View (database) panel. The vulnerability exists in the asset cell renderer of this feature.Affected if Attribute View (database) feature is in use with a version below 3.7.0
User is affected if SiYuan Electron desktop client version is below 3.7.0 and the Attribute View (database) feature is accessible to untrusted users.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade SiYuan to version 3.7.0 or later. Until then, restrict access to untrusted users and disable the Electron desktop client if possible.
3.7.0
- 1. Check the current installed version of SiYuan (Help > About in the application menu)
- 2. Back up the SiYuan data directory (by default at ~/SiYuan/ or C:\Users\<user>\SiYuan\) to ensure data safety before upgrading
- 3. Download SiYuan version 3.7.0 or later from the official GitHub releases page (https://github.com/siyuan-note/siyuan/releases)
- 4. For desktop users: Close the running SiYuan application completely
- 5. Install the downloaded version 3.7.0 (or newer) by running the installer for your platform (Windows/macOS/Linux)
- 6. After installation, verify the new version by checking Help > About to confirm version 3.7.0 or later is running
- 7. If using the Electron desktop client, test that the Attribute View (database) functionality works correctly with asset cells
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,752.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-50551 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-50551 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data