CVE-2026-87807

Summary

siyuan versions before v3.8.2 contain an authenticated SQL injection vulnerability in the fullTextSearchBlock endpoint's method=1 query parameter. Attackers can inject UNION SELECT statements to read the entire blocks table, bypassing publish-access controls and exposing all document content and sensitive attributes.

Affected Software

VendorProductVersion RangeStatus
siyuan-notesiyuan0 < 3.8.2affected
siyuan-notesiyuan3.8.2unaffected

Weaknesses

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

References