← CVE Intelligence

CVE-2026-72807

SiYuan before v3.7.4 SQL Injection via queryBlocks template PUBLISHED

Description (CNA)

SiYuan versions before v3.7.4 contain a second-order SQL injection vulnerability in attribute-view template columns that expose the queryBlocks function, which executes raw SQL using string substitution instead of parameterized queries. Attackers can distribute malicious SiYuan documents or packages with crafted template columns that execute arbitrary SQL on a victim's kernel when the package is imported and rendered, enabling read and write access across notebooks.

Affected (CNA)

Vendor / productVersions
siyuan-note / siyuanaffected 0 before 3.7.4; unaffected 3.7.4

CWE

CWE-89

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.