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
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
- http://127.0.0.1:6806`url
- http://127.0.0.1:6806/api/notebook/lsNotebooksurl
- http://127.0.0.1:6806/api/filetree/searchDocsurl
- http://127.0.0.1:6806}url
Original source: https://github.com/advisories/GHSA-33jq-p8c2-q3q4