{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.2-beta.2"
              },
              {
                "fixed": "2.2-beta.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a7705388af2d3e8c3ce09b0667fe985847b1546b"
            }
          ],
          "repo": "https://github.com/mindoc-org/mindoc",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111364.json"
  },
  "details": "MinDoc through 2.2-beta.2 contains an insecure direct object reference vulnerability in DocumentController.Content that allows authenticated users to read documents from unauthorized books. Attackers holding a non-observer role on any book can name that book and iterate sequential document ids to read markdown and HTML from private books.",
  "id": "CVE-2026-111364",
  "modified": "2026-10-17T02:30:41.772024724Z",
  "published": "2026-10-15T21:43:48.449Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111364.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://hackmd.io/@hieuPenguinnn/mindoc-api-content-get-cross-book-document-idor"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111364"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/mindoc-through-2.2-beta.2-idor-via-api-key-content-id-get-branch"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mindoc-org/mindoc"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/mindoc-org/mindoc/blob/v2.2-beta.2/controllers/DocumentController.go#L847-L973"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/mindoc-org/mindoc/blob/v2.2-beta.2/routers/router.go#L242"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "MinDoc through 2.2-beta.2 IDOR via /api/:key/content/:id GET Branch"
}