{"apiVersion":"1.0","identifier":"CVE-2026-72811","description":"SiYuan versions <= v3.7.2 contain a SQL injection vulnerability in the backlink/mention search query (kernel/model/backlink.go), which concatenates stored block metadata (title, name, alias, anchor text) and the client-supplied keyword into a SQL MATCH/search statement while escaping only the double-quote character and not the single quote. A single quote in the client keyword (first-order, reachable by an anonymous or RoleReader user on the publish surface) or in stored document metadata (second-order) breaks out of the string literal. Because the query runs on the main read-write siyuan.db handle via a statement-stacking-capable driver, an attacker can execute arbitrary SQL, enabling cross-notebook read and write. Fixed in v3.7.4.","publishedAt":"2026-08-14T12:16:43","lastModifiedAt":"2026-08-26T16:56:50","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-72811","cvssScore":10,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","epssProbability":0.0025,"riskScore":1.02,"affectedProduct":"SiYuan","affectedVersions":"<=3.7.2","vulnerabilityType":"Web app","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-72811","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-72811","en":"https://www.redsauce.net/en/cves/CVE-2026-72811","fr":"https://www.redsauce.net/fr/cves/CVE-2026-72811","pt":"https://www.redsauce.net/pt/cves/CVE-2026-72811","de":"https://www.redsauce.net/de/cves/CVE-2026-72811","sk":"https://www.redsauce.net/sk/cves/CVE-2026-72811","el":"https://www.redsauce.net/el/cves/CVE-2026-72811"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-72811"}}