THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-33jq-p8c2-q3q4 (critical) — SiYuan: Unauthenticated SQL injection in searchDocs via unescaped keyword (publish mode): cross-notebook read/write with statement stacking

[GHSA] GHSA-33jq-p8c2-q3q4 (critical) — SiYuan: Unauthenticated SQL injection in searchDocs via unescaped keyword (publish mode): cross-notebook read/write with statement stacking

highgithub_advisoriesPublished 2026-10-01

GHSA-33jq-p8c2-q3q4 Severity: critical CVE: None

SiYuan: Unauthenticated SQL injection in searchDocs via unescaped keyword (publish mode): cross-notebook read/write with statement stacking

### Summary

The `/api/filetree/searchDocs` endpoint concatenates the caller-supplied search keyword directly into a SQL statement with no escaping and no parameter binding. The endpoint is gated by `CheckAuth

Indicators of compromise

Original source: https://github.com/advisories/GHSA-33jq-p8c2-q3q4