CVE-2026-72807

published 12 Aug 2026 · updated 14 Aug 2026

SiYuan before v3.7.4 SQL Injection via queryBlocks template

8.0HighCVSS 8.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.7.4.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
siyuan-note<3.7.43.7.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-72807 severity on Zeptric[![CVE-2026-72807](https://zeptric.io/badge/cve/CVE-2026-72807.svg)](https://zeptric.io/cve/CVE-2026-72807)