Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPersist crafted Attribute View name via setAttrViewName API
-
DeliveryVictim opens database row attribute panel
-
ExploitrenderAVAttribute() inserts name unescaped via innerHTML
-
Executionimg onerror handler fires in Node-enabled renderer
-
ImpactExecute OS commands via child_process as user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a stock SiYuan installation (<= 3.8.9) with a database (Attribute View) and a bound block whose attribute panel can be shown - no setting needs to be changed from defaults. The attacker must be able to persist an Attribute View name in the victim's workspace: on a default desktop install the local origin is granted Administrator with no access code, so the kernel API POST /api/transactions (setAttrViewName action) accepts the write; alternatively the name can arrive via sync, import, or a shared workspace (this is the PR:L precondition). Exploitation then requires the victim to actively open the specific database row's attribute panel (the row's Open control or block attribute panel), which triggers renderAVAttribute(). Full OS command execution occurs only in the desktop Electron app (nodeIntegration:true, contextIsolation:false reaching child_process); on the self-hosted web/Docker build the same stored name yields script execution in the kernel origin with the viewing user's session, not OS-level RCE. Limiting factors: attacker write access to a name, required user interaction opening the panel, and desktop build for OS code execution. |
| Impact | This is a genuine high-priority issue, not an inflated-CVSS artifact. The vuln.today Decision label is act_now and the CVSS 4.0 base is 9.4 (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H), reflecting a network-reachable, low-complexity flaw that escalates from stored XSS to full operating-system command execution on the desktop build via Electron's nodeIntegration. Two signals temper raw severity. First, PR:L and UI:P/UI:R: the attacker must already be able to persist an Attribute View name (local Administrator origin on a default desktop install, or sync/import/shared-workspace routes), and a victim must open the specific database row attribute panel - so this is not drive-by remote-unauthenticated code execution despite AV:N. Second, no CISA KEV entry and no EPSS score are provided, so there is no evidence of active or widespread exploitation yet. Against that, a detailed working proof of concept is published by the reporter (VulnCheck) in the GHSA advisory, demonstrating |
| Exploit ScenarioDerived | An attacker who can write into the victim's workspace - directly through the local kernel API (setAttrViewName), or indirectly via a synced, imported, or shared note - stores an Attribute View name containing |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Stored cross-site scripting in SiYuan through 3.8.9 lets an attacker who can persist an Attribute View name execute operating-system commands on the desktop app when a victim opens the database row attribute panel. It is an incomplete fix for CVE-2026-44670 because renderAVAttribute() still interpolates table.avName into the panel header and assigns it through innerHTML or insertAdjacentHTML, while the kernel stores the name without HTML escaping. A public proof-of-concept reference, including a recorded working run on v3.8.9, exists; the vendor fixed the issue in v3.8.10, and no KEV confirmation is present in the supplied data.
RemediationAI
Upgrade to SiYuan v3.8.10 or later; the vendor advisory GHSA-7gj8-xf7w-hfjf and package data identify v3.8.10 as the fixed release. The referenced commit d3af9d57 is cited in the public write-up as the still-vulnerable revision, so apply the v3.8.10 release rather than relying on that commit alone. Until upgrading, restrict who can persist Attribute View names and avoid opening database row attribute panels from untrusted, synced, imported, or shared workspaces; for self-hosted deployments, limit access to the kernel API and review shared workspaces before use. These controls reduce exposure but do not remove an already stored payload, and they can interfere with collaboration, sync, and import workflows.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SiYuan is a local-first note-taking and knowledge-management application with a Go kernel and an Electron/TypeScript renderer; Attribute Views are its database-like views. CWE-79 stored XSS occurs because the kernel setAttrViewName path trims and length-limits the name but does not HTML-escape it, and renderAVAttribute() later builds the database row attribute panel header with the raw table.avName value before assigning it through innerHTML or insertAdjacentHTML. The earlier CVE-2026-44670 fix escaped the document title, shared database header, and relation-editor placeholder, but missed this panel-header sink. On desktop builds the renderer runs with nodeIntegration true and contextIsolation false, so injected JavaScript can reach require('child_process'); on the official Docker/web build the same stored name runs in the kernel origin with the viewing user's session, not as OS-level command execution. The assessed vector uses PR:L, reflecting an attacker who can persist an Attribute View name in the victim's workspace, and exploitation requires the victim to open the specific row's attribute panel.
Know when Siyuan gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Attacker needs workspace write to persist the name (PR:L) and the victim must open the panel (UI:R); the Node-enabled renderer escapes to the OS user (S:C) giving full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
SiYuan before 3.8.10 contains a stored cross-site scripting vulnerability, an incomplete fix for CVE-2026-44670, because renderAVAttribute() inserts an Attribute View name unescaped into the database row attribute panel header. Attackers who can persist the name, such as via the setAttrViewName action, can inject an onerror handler that runs OS commands through Node.js when a desktop user opens the panel.
Articles & Coverage 1
Technical POC Analysis
CWE-79: Improper Neutralization of Input During Web Page Generation.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A critical stored cross-site scripting vulnerability in SiYuan desktop versions up to 3.8.9 enables an attacker who can persist a crafted Attribute View name to execute operating-system commands when a victim opens the database row attribute panel. This puts individual users and their organizations at risk of full workstation compromise, data theft, and lateral movement, and warrants immediate leadership attention given the availability of a working proof-of-concept and the product's use in knowledge management workflows.
Apply vendor patch (v3.8.10).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role
Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
EUVD-2026-128755
GHSA-mg8p-4rrj-qfxr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB