CVE-2026-116170 PUBLISHED

SiYuan before v3.8.7 SQL Injection via History Search op and query

Assigner: VulnCheck
Reserved: 25.10.2026 Published: 25.10.2026 Updated: 25.10.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

Vendor siyuan-note
Product siyuan
Versions Default: unaffected
  • affected from 0 to 3.8.7 (excl.)
  • Version 3.8.7 is unaffected

Credits

  • alienkeric reporter

References

Problem Types

  • Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE