{"id":"CVE-2025-59940","aliases":["EUVD-2025-31581","GHSA-v39m-5m9j-m9w9","PYSEC-2026-1632"],"status":"published","title":"mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders","description":"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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00341,"percentile":0.28021,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2025-09-29T16:29:07Z","modified":"2026-10-28T02:30:29Z","fixes":[{"ecosystem":"PyPI","package":"mkdocs-include-markdown-plugin","fixed_in":["7.1.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"mkdocs-include-markdown-plugin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.8"}]}]},{"source":"osv","ecosystem":"PyPI","package":"mkdocs-include-markdown-plugin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.8"}]}],"versions":["0.0.1","0.0.2","0.1.0","1.0.0","2.0.0","2.1.0","2.1.1","2.1.2","2.2.0","2.3.0","2.4.0","2.5.0","2.6.0","2.6.1","2.7.0","2.7.1","2.7.2","2.8.0","3.0.0","3.0.1","3.1.0","3.1.1","3.1.3","3.1.4","3.2.0","3.2.1","3.2.2","3.2.3","3.3.0","3.4.0","3.4.1","3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","5.0.0","5.1.0","6.0.0","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.0.7","6.1.0","6.1.1","6.2.0","6.2.1","6.2.2","7.0.0","7.0.1","7.1.1","7.1.2","7.1.3","7.1.4","7.1.5","7.1.6","7.1.7"]},{"source":"osv","ecosystem":"PyPI","package":"mkdocs-include-markdown-plugin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.8"}]}],"versions":["0.0.1","0.0.2","0.1.0","1.0.0","2.0.0","2.1.0","2.1.1","2.1.2","2.2.0","2.3.0","2.4.0","2.5.0","2.6.0","2.6.1","2.7.0","2.7.1","2.7.2","2.8.0","3.0.0","3.0.1","3.1.0","3.1.1","3.1.3","3.1.4","3.2.0","3.2.1","3.2.2","3.2.3","3.3.0","3.4.0","3.4.1","3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","5.0.0","5.1.0","6.0.0","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.0.7","6.1.0","6.1.1","6.2.0","6.2.1","6.2.2","7.0.0","7.0.1","7.1.1","7.1.2","7.1.3","7.1.4","7.1.5","7.1.6","7.1.7"]}],"products":[{"vendor":"mondeja","product":"mkdocs-include-markdown-plugin"}],"references":[{"url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/security/advisories/GHSA-v39m-5m9j-m9w9","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/issues/274","tags":["x_refsource_MISC","report","web"]},{"url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/pull/277","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915","tags":["x_refsource_MISC","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59940","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-v39m-5m9j-m9w9","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59940.json","tags":["advisory"]},{"url":"https://github.com/mondeja/mkdocs-include-markdown-plugin","tags":["package"]},{"url":"https://pypi.org/project/mkdocs-include-markdown-plugin","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-59940","title":"mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders","description":"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.","status":"published","published":"2025-09-29T22:27:30.087Z","modified":"2025-09-30T14:34:58.817Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:32:47.812946Z"}],"euvd":[{"id":"EUVD-2025-31581","description":"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.","status":"published","published":"2025-09-29T22:27:30Z","modified":"2025-09-30T14:34:58Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:31:38.096877Z"}],"ghsa":[{"id":"GHSA-v39m-5m9j-m9w9","title":"mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders ","description":"### Impact\nCWE-20: Improper Input Validation\nLow impact\n\n### Patches\nPatched in v7.1.8 (commit https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915)\n\n### Workarounds\nNo","status":"published","published":"2025-09-29T16:29:07Z","modified":"2025-09-30T15:15:20Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:38:59.83883Z"}],"nvd":[{"id":"CVE-2025-59940","description":"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.","status":"published","published":"2025-09-29T23:15:31.967Z","modified":"2026-10-09T09:10:00.213Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:11:33.36253Z"}],"osv":[{"id":"CVE-2025-59940","title":"mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders","description":"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.","status":"published","published":"2025-09-29T22:27:30.087Z","modified":"2026-10-28T02:30:29.704955534Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:44:51.516975Z"},{"id":"GHSA-v39m-5m9j-m9w9","title":"mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders ","description":"### Impact\nCWE-20: Improper Input Validation\nLow impact\n\n### Patches\nPatched in v7.1.8 (commit https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915)\n\n### Workarounds\nNo","status":"published","published":"2025-09-29T16:29:07Z","modified":"2026-07-07T17:57:21.723632255Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:56.639206Z"},{"id":"PYSEC-2026-1632","title":"mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders ","description":"### Impact\nCWE-20: Improper Input Validation\nLow impact\n\n### Patches\nPatched in v7.1.8 (commit https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915)\n\n### Workarounds\nNo","status":"published","published":"2026-07-07T16:03:06.009053Z","modified":"2026-07-07T17:47:43.441951207Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:52:55.06457Z"}]}}
