{"id":"CVE-2026-116170","published":"2026-10-25T13:20:12Z","modified":"2026-10-29T16:13:59Z","title":"SiYuan before v3.8.7 SQL Injection via History Search op and query","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"SiYuan before v3.8.7 contains an sql injection vulnerability that allows admin-token holders to read history.db by injecting unescaped op and type=3 query values. Attackers can send crafted UNION SELECT payloads to searchHistory or getHistoryItems endpoints to exfiltrate deleted document content, titles, and paths.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00424,"percentile":0.37454,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4hjx-84f6-gr7c","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-3.8.7-sql-injection-via-history-search-op-and-query","tags":["third-party-advisory"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":7.49},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.8.7"]}],"fixedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["3.8.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-29T16:13:38.956331Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-109431","exploited":false,"provenance":"source"}}