Skip to content
Heist/ feed
Back to feed
High

MinDoc through 2.2-beta.2 IDOR via /api/:key/content/:id GET Branch

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-111364
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:25 UTC · Revision 1

Source evidence

MinDoc through 2.2-beta.2 IDOR via /api/:key/content/:id GET Branch

core-osv · Original source

Published 15 Oct 2026, 21:43 UTC

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.

osv:CVE-2026-111364
Complete source record
{
  "id": "bafa01964fac8b7c230969f069904c0672764845370b8f02847826fdc5348580",
  "url": "https://osv.dev/vulnerability/CVE-2026-111364",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MinDoc through 2.2-beta.2 IDOR via /api/:key/content/:id GET Branch",
    "summary": "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.",
    "evidence": "osv:CVE-2026-111364",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-111364",
      "aliases": [
        "CVE-2026-111364"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mindoc-org/mindoc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "a7705388af2d3e8c3ce09b0667fe985847b1546b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.2-beta.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.2-beta.2"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.2-beta.2",
            "v2.2-beta.1",
            "v2.1",
            "v2.1-beta.6",
            "v2.1-beta.5",
            "v2.1-beta.1",
            "v2.0",
            "v2.0-beta.2",
            "v2.0-beta.1",
            "v1.0.2",
            "v1.0.1",
            "v1.0",
            "v0.13.4",
            "v0.13.3",
            "v0.13.2",
            "v0.13.1",
            "v0.13",
            "v0.12",
            "v0.11",
            "v0.10.1",
            "v0.10",
            "v0.9",
            "v0.8.1",
            "v0.8",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.7",
            "v0.5.1",
            "v0.5",
            "v0.4",
            "v0.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111364.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.430359234Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111364.json",
        "https://hackmd.io/@hieuPenguinnn/mindoc-api-content-get-cross-book-document-idor",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-111364",
        "https://www.vulncheck.com/advisories/mindoc-through-2.2-beta.2-idor-via-api-key-content-id-get-branch",
        "https://github.com/mindoc-org/mindoc",
        "https://github.com/mindoc-org/mindoc/blob/v2.2-beta.2/controllers/DocumentController.go#L847-L973",
        "https://github.com/mindoc-org/mindoc/blob/v2.2-beta.2/routers/router.go#L242"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-639"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111364.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-111364",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499660,
  "published_at": "2026-10-15T21:43:48.449+00:00"
}