Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. CVE-2026-72795

CVE-2026-72795: SiYuan: Embedded (transclusion) block content is returned without publish-access filtering, leaking private and password-protected document content to anonymous readers

September 4, 2026

/api/block/getBlockDOMWithEmbed and /api/block/getBlockDOMsWithEmbed gate only the requested block against publish access. The blocks pulled in by that block’s embed (transclusion) query are inlined into the returned DOM with no publish-access check at all, so a reader who requests a legitimately-published block containing an embed query receives the content of every block that query matched including blocks in hidden, forbidden and password-protected documents.

The dedicated embed endpoint getEmbedBlock filters these same results for reader roles. The DOM-with-embed path does not.

References

  • github.com/advisories/GHSA-h6w7-xxcf-w2mq
  • github.com/siyuan-note/siyuan/commit/1ca1c3c9d94bea14fc9728ff2fb8392bb0f29732
  • github.com/siyuan-note/siyuan/security/advisories/GHSA-h6w7-xxcf-w2mq
  • nvd.nist.gov/vuln/detail/CVE-2026-72795
  • www.vulncheck.com/advisories/siyuan-before-information-disclosure-via-embed-block

Code Behaviors & Features

Detect and mitigate CVE-2026-72795 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260725125659-1ca1c3c9d94b

Fixed versions

  • 0.0.0-20260725125659-1ca1c3c9d94b

Solution

Upgrade to version 0.0.0-20260725125659-1ca1c3c9d94b or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

go/github.com/siyuan-note/siyuan/kernel/CVE-2026-72795.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:21:42 +0000.