{"id":"CVE-2025-59940","aliases":["GHSA-v39m-5m9j-m9w9","PYSEC-2026-1632"],"summary":"mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders","published_at":"2025-09-29T16:29:07Z","modified_at":"2026-07-07T17:57:21.723632Z","products":[],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0034099998883903027,"percentile":0.28220000863075256,"date":"2026-11-19T00:00:00Z"},"priority":8.5,"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"mondeja/mkdocs-include-markdown-plugin","versions":["< 7.1.8"],"provider":"cvelistv5","source":"CVE-2025-59940","relation":"self"},{"ecosystem":"PyPI","package":"mkdocs-include-markdown-plugin","purl":"pkg:pypi/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"],"fixed":["7.1.8"],"provider":"osv","source":"GHSA-v39m-5m9j-m9w9","relation":"self"},{"ecosystem":"PyPI","package":"mkdocs-include-markdown-plugin","purl":"pkg:pypi/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"],"fixed":["7.1.8"],"provider":"osv","source":"PYSEC-2026-1632","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Assisted Installer for Red Hat OpenShift Container Platform 2","cpe":"cpe:/a:redhat:assisted_installer:2","status":"affected","packages":["rhai/assisted-installer-agent-rhel9","rhai/assisted-installer-controller-rhel9","rhai/assisted-installer-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-59940"},{"vendor":"Red Hat","product":"Multicluster Engine for Kubernetes","cpe":"cpe:/a:redhat:multicluster_engine","status":"affected","packages":["multicluster-engine/assisted-installer-agent-rhel9","multicluster-engine/assisted-installer-controller-rhel9","multicluster-engine/assisted-installer-rhel9","multicluster-engine/assisted-service-8-rhel8","multicluster-engine/assisted-service-9-rhel9"],"package_count":5,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-59940"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-agent-installer-api-server-rhel9","openshift4/ose-agent-installer-csr-approver-rhel9","openshift4/ose-agent-installer-node-agent-rhel9","openshift4/ose-agent-installer-orchestrator-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-59940"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2025-59940","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-59940","license":"CC-BY-4.0","published_at":"2025-09-29T22:27:30.087Z","modified_at":"2025-09-30T14:34:58.817Z","summary":"mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","source":"CVE-2025-59940"}],"affected":[{"ecosystem":"CVE","package":"mondeja/mkdocs-include-markdown-plugin","versions":["< 7.1.8"],"provider":"cvelistv5","source":"CVE-2025-59940","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/security/advisories/GHSA-v39m-5m9j-m9w9"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/issues/274"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/pull/277"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915"}]},{"provider":"osv","source_id":"GHSA-v39m-5m9j-m9w9","relation":"self","url":"https://osv.dev/vulnerability/GHSA-v39m-5m9j-m9w9","license":"CC-BY-4.0","published_at":"2025-09-29T16:29:07Z","modified_at":"2026-07-07T17:57:21.723632Z","summary":"mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders","details":"### 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","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","source":"GHSA-v39m-5m9j-m9w9"}],"affected":[{"ecosystem":"PyPI","package":"mkdocs-include-markdown-plugin","purl":"pkg:pypi/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"],"fixed":["7.1.8"],"provider":"osv","source":"GHSA-v39m-5m9j-m9w9","relation":"self"}],"product_status":[],"references":[{"type":"WEB","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":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/issues/274"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/pull/277"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915"},{"type":"PACKAGE","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin"}]},{"provider":"osv","source_id":"PYSEC-2026-1632","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-1632","license":"CC-BY-4.0","published_at":"2026-07-07T16:03:06.009053Z","modified_at":"2026-07-07T17:47:43.441951Z","summary":"mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders","details":"### 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","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","source":"PYSEC-2026-1632"}],"affected":[{"ecosystem":"PyPI","package":"mkdocs-include-markdown-plugin","purl":"pkg:pypi/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"],"fixed":["7.1.8"],"provider":"osv","source":"PYSEC-2026-1632","relation":"self"}],"product_status":[],"references":[{"type":"WEB","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":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/issues/274"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/pull/277"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915"},{"type":"PACKAGE","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin"},{"type":"PACKAGE","url":"https://pypi.org/project/mkdocs-include-markdown-plugin"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v39m-5m9j-m9w9"}]},{"provider":"redhat-vex","source_id":"CVE-2025-59940","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-59940","license":"CC-BY-4.0","published_at":"2025-09-29T22:27:30.087Z","modified_at":"2026-03-16T08:31:18Z","summary":"mkdocs-include-markdown-plugin: mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders","details":"There is an improper input validation flaw in the python `mkdocs-include-markdown-plugin` package. Under certain conditions placeholders are not properly validated and may collide with other data elements resulting in inconsistent output.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","source":"CVE-2025-59940"},{"type":"Red Hat","score":"Moderate","source":"CVE-2025-59940"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Assisted Installer for Red Hat OpenShift Container Platform 2","cpe":"cpe:/a:redhat:assisted_installer:2","status":"affected","packages":["rhai/assisted-installer-agent-rhel9","rhai/assisted-installer-controller-rhel9","rhai/assisted-installer-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-59940"},{"vendor":"Red Hat","product":"Multicluster Engine for Kubernetes","cpe":"cpe:/a:redhat:multicluster_engine","status":"affected","packages":["multicluster-engine/assisted-installer-agent-rhel9","multicluster-engine/assisted-installer-controller-rhel9","multicluster-engine/assisted-installer-rhel9","multicluster-engine/assisted-service-8-rhel8","multicluster-engine/assisted-service-9-rhel9"],"package_count":5,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-59940"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-agent-installer-api-server-rhel9","openshift4/ose-agent-installer-csr-approver-rhel9","openshift4/ose-agent-installer-node-agent-rhel9","openshift4/ose-agent-installer-orchestrator-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-59940"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-59940.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-59940"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2400372"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-59940"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59940"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/issues/274"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/pull/277"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/security/advisories/GHSA-v39m-5m9j-m9w9"}]}],"references":[{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/security/advisories/GHSA-v39m-5m9j-m9w9"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/issues/274"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/pull/277"},{"type":"WEB","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59940"},{"type":"PACKAGE","url":"https://github.com/mondeja/mkdocs-include-markdown-plugin"},{"type":"PACKAGE","url":"https://pypi.org/project/mkdocs-include-markdown-plugin"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v39m-5m9j-m9w9"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-59940.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-59940"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2400372"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-59940"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2025-59940","url":"https://www.cve.org/CVERecord?id=CVE-2025-59940","license":"CC-BY-4.0","modified_at":"2025-09-30T14:34:58.817Z","relation":"self"},{"provider":"osv","source_id":"GHSA-v39m-5m9j-m9w9","url":"https://osv.dev/vulnerability/GHSA-v39m-5m9j-m9w9","license":"CC-BY-4.0","modified_at":"2026-07-07T17:57:21.723632Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-1632","url":"https://osv.dev/vulnerability/PYSEC-2026-1632","license":"CC-BY-4.0","modified_at":"2026-07-07T17:47:43.441951Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-59940","url":"https://access.redhat.com/security/cve/CVE-2025-59940","license":"CC-BY-4.0","modified_at":"2026-03-16T08:31:18Z","relation":"self"}]}
