Medium
mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-59940
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 14:58 UTC · Revision 1
Source evidence
mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders
core-osv · Original sourcePublished 29 Sept 2025, 22:27 UTC
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.
osv:CVE-2025-59940
Complete source record
{
"id": "dfae6279a02eb1f2fe834a9356e054aa08c85035fdb860346e49d3071885bdbf",
"url": "https://osv.dev/vulnerability/CVE-2025-59940",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders",
"summary": "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.",
"evidence": "osv:CVE-2025-59940",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-59940",
"aliases": [
"CVE-2025-59940",
"GHSA-v39m-5m9j-m9w9",
"PYSEC-2026-1632"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mondeja/mkdocs-include-markdown-plugin",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "7466d67aa0de8ffbc427204ad2475fed07678915"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "7.1.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "7466d67aa0de8ffbc427204ad2475fed07678915"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v7.1.7",
"v7.1.6",
"v7.1.5",
"v7.1.4",
"v7.1.3",
"v7.1.2",
"v7.1.1",
"v7.0.1",
"v7.0.0",
"v6.2.2",
"v6.2.1",
"v6.2.0",
"v6.1.1",
"v6.1.0",
"v6.0.7",
"v6.0.6",
"v6.0.5",
"v6.0.4",
"v6.0.3",
"v6.0.2",
"v6.0.1",
"v6.0.0",
"v5.1.0",
"v5.0.0",
"v4.0.4",
"v4.0.3",
"v4.0.2",
"v4.0.1",
"v4.0.0",
"v3.9.1",
"v3.9.0",
"v3.8.1",
"v3.8.0",
"v3.7.1",
"v3.7.0",
"v3.6.1",
"v3.6.0",
"v3.5.2",
"v3.5.1",
"v3.5.0",
"v3.4.1",
"v3.4.0",
"v3.3.0",
"v3.2.3",
"v3.2.2",
"v3.2.1",
"v3.2.0",
"v3.1.4",
"v3.1.1",
"v3.1.0",
"v3.0.1",
"v3.0.0",
"v2.8.0",
"v2.7.2",
"v2.7.1",
"v2.7.0",
"v2.6.1",
"v2.6.0",
"v2.5.0",
"v2.4.0",
"v2.3.0",
"v2.2.0",
"v2.1.2",
"v2.1.1",
"v2.1.0",
"v2.0.0",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59940.json"
}
}
],
"modified": "2026-10-28T02:30:29.704955534Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59940.json",
"https://github.com/mondeja/mkdocs-include-markdown-plugin/security/advisories/GHSA-v39m-5m9j-m9w9",
"https://nvd.nist.gov/vuln/detail/CVE-2025-59940",
"https://github.com/mondeja/mkdocs-include-markdown-plugin/issues/274",
"https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915",
"https://github.com/mondeja/mkdocs-include-markdown-plugin/pull/277"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59940.json"
}
},
"related_cves": [
{
"value": "CVE-2025-59940",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496597,
"published_at": "2025-09-29T22:27:30.087+00:00"
}