Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Endpoint is remotely reachable without authentication (AV:N/AC:L/PR:N/UI:N); injection into a read-write DASsET DB yields high confidentiality and integrity impact across notebooks (scope change, S:C), with no described availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
SiYuan versions before v3.7.3 contain SQL injection vulnerabilities in the fullTextSearchAssetContent endpoint reachable by unauthenticated users and publish RoleReader tokens. Attackers can execute arbitrary SQL on the read-write asset-content database via unescaped method parameters and REGEXP clauses to read, modify, or delete cross-notebook data.
AnalysisAI
SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish RoleReader tokens execute arbitrary SQL against the read-write asset-content database in all versions before v3.7.3. Because the endpoint is reachable without authentication and the database is writable, attackers can read, alter, or delete data across notebooks - not merely exfiltrate it. No public exploit identified at time of analysis, but the flaw was reported by VulnCheck and carries a CVSS 4.0 base score of 9.9.
Technical ContextAI
SiYuan is a self-hosted, block-based personal knowledge management and note-taking application (vendor siyuan-note) that stores note and asset content in a local SQLite-style database and exposes HTTP API endpoints, including a publishing mode with role-scoped tokens (e.g. RoleReader). The vulnerability is a classic CWE-89 SQL Injection: the fullTextSearchAssetContent handler builds queries using unescaped 'method' parameters and REGEXP clauses, allowing user-controlled input to break out of the intended query context. Critically, the injection targets the asset-content database in read-write mode, so the impact extends beyond data disclosure to arbitrary modification and deletion. The affected component is identified by CPE cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:* across all releases prior to 3.7.3.
RemediationAI
Upgrade SiYuan to v3.7.3 or later, which the vendor advisory (GHSA-fph3-ghq9-vw66) confirms contains the fix - patch available per vendor advisory. Until upgrading, reduce exposure by restricting network reachability of the SiYuan HTTP API: do not expose the instance or its publish endpoints directly to the internet, place it behind an authenticating reverse proxy or VPN, and disable or lock down publishing mode / RoleReader token issuance if not required, since these tokens are among the affected access paths (trade-off: publishing and shared-read features become unavailable). If the fullTextSearchAssetContent endpoint can be blocked at the proxy without breaking search for legitimate users, do so as a temporary control. Consult https://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-fulltextsearchassetcontent for further detail. These are compensating controls only; the definitive fix is the v3.7.3 upgrade.
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
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
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
Reflected XSS in SiYuan knowledge management before 3.5.9.
SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope
SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera
SQL injection in SiYuan prior to version 3.6.0 allows any authenticated user, including those with read-only access, to
Cross-site scripting (XSS) in SiYuan personal knowledge management system versions 3.6.0-3.6.1 allows remote attackers t
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-52276
GHSA-fph3-ghq9-vw66