Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach SiYuan HTTP API
-
DeliverySend crafted fullTextSearchAssetContent request
-
ExploitInject SQL via method/REGEXP params
-
ExecutionExecute arbitrary SQL on asset-content DB
-
ImpactRead, modify, or delete cross-notebook data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network reachability to a SiYuan instance's HTTP API and a request to the fullTextSearchAssetContent endpoint; per the description this endpoint is reachable by unauthenticated users and by holders of publish RoleReader tokens, so no login credential is strictly required (CVSS PR:N, UI:N). The concrete prerequisite is that the SiYuan API/publish surface is reachable by the attacker - an instance fully firewalled to localhost or behind an authenticating proxy/VPN is not exploitable remotely, and disabling publishing/RoleReader tokens removes that specific access path. Affected only on versions before v3.7.3. |
| Impact | This is a genuine high-priority issue rather than an inflated CVSS score. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms fully remote, low-complexity, unauthenticated exploitation with no user interaction, and the vulnerable-system impact metrics VC:H/VI:H plus subsequent-system SC:H/SI:H reflect both confidentiality and integrity compromise reaching beyond the immediate scope. The description independently corroborates the network vector by naming an endpoint reachable by unauthenticated users. EPSS is not provided in the input, and the CVE is not listed in CISA KEV, so there is no evidence of active exploitation yet; likewise no POC is referenced, meaning the practical barrier is currently 'skilled attacker must craft the injection' rather than 'point-and-click exploit exists.' The signals are internally consistent (no CVSS-versus-description conflict), and the read-write database access materially raises impact versus a read-only SQLi. Missing data: EPSS probability and KEV status cannot be evaluated because they were not supplied. |
| Exploit ScenarioDerived | An attacker who can reach a SiYuan instance's HTTP API - either fully unauthenticated or using a publish RoleReader token - sends a crafted request to the fullTextSearchAssetContent endpoint with a malicious 'method' parameter or REGEXP payload. The injected SQL executes against the read-write asset-content database, letting the attacker dump notebook contents and then modify or delete records across notebooks. No public exploit is identified at time of analysis, but the low attack complexity and network vector make weaponization straightforward for a skilled attacker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 03, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, 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 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.
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:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
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
2DescriptionCVE.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.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
SiYuan knowledge management platform versions prior to 3.7.3 contain a critical SQL injection vulnerability that allows unauthenticated attackers to read, modify, or delete all stored notebooks without authentication. This vulnerability affects any organization currently deployed on affected versions and creates immediate risk to both data confidentiality and integrity. Patch to version 3.7.3 immediately to eliminate this exposure.
Apply vendor patch.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
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
Reflected XSS in SiYuan knowledge management before 3.5.9.
Same weakness CWE-89 – SQL Injection
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-52276
GHSA-fph3-ghq9-vw66
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB