Description (CNA)
SiYuan versions before v3.8.4 fail to properly validate SQL statements in block query embed blocks executed against siyuan.db. Attackers can craft malicious .sy documents with non-read-only SQL statements that execute automatically during background indexing, rendering, or export operations without authentication.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| siyuan-note / siyuan | affected 0 before 3.8.4; unaffected 3.8.4 |
CWE
CWE-89
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-67p9-hm94-xwf3
- https://github.com/siyuan-note/siyuan/commit/e8ace0c89182c7ee1a1298ff2a849bb6a83dfdec
- https://www.vulncheck.com/advisories/siyuan-before-3.8.4-sql-injection-via-block-query-embed
ADP enrichment
No English description supplied.