Security mailing lists by PureSourceCode

CVE-2026-72807

HIGH 8.8CVSS 4.0

SiYuan: Second-order SSTI to arbitrary SQL via attribute-view template column (queryBlocks): malicious imported package executes SQL on victim kernel

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.

Published
12 Aug 2026
Last modified
24 Oct 2026
Assigned by
disclosure@vulncheck.com
NVD status
Deferred
Weakness
CWE-1336CWE-89
Also known as
GHSA-x67c-8pwr-m8g3GO-2026-6410
Sources
NVDJSONOSV GHSA-x67c-8pwr-m8g3JSONOSV GO-2026-6410JSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 HIGH 8.8 CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 HIGH 8.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/siyuan-note/siyuan/kernel < 0.0.0-20260723035036-0a176345e02a 0.0.0-20260723035036-0a176345e02a

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 12 Aug 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Sep 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.