{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7466d67aa0de8ffbc427204ad2475fed07678915"
            }
          ],
          "repo": "https://github.com/mondeja/mkdocs-include-markdown-plugin",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-v39m-5m9j-m9w9"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59940.json"
  },
  "details": "mkdocs-include-markdown-plugin is an Mkdocs Markdown includer plugin. In versions 7.1.7 and below, there is a vulnerability where unvalidated input can collide with substitution placeholders. This issue is fixed in version 7.1.8.",
  "id": "CVE-2025-59940",
  "modified": "2026-04-01T23:08:02.818761489Z",
  "published": "2025-09-29T22:27:30.087Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59940.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mondeja/mkdocs-include-markdown-plugin/security/advisories/GHSA-v39m-5m9j-m9w9"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-59940"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mondeja/mkdocs-include-markdown-plugin/issues/274"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mondeja/mkdocs-include-markdown-plugin/pull/277"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders"
}