CVE-2025-59940: mkdocs-include-markdown-plugin susceptible to unvalidated input colliding with substitution placeholders
Impact CWE-20: Improper Input Validation Low impact Patches Patched in v7.1.8 (commit https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915) Workarounds No
Published Sep 29, 2025 · Updated Sep 30, 2025
Affected packages
mkdocs-include-markdown-plugin
- Ecosystem
- PyPI
- Affected
- < 7.1.8
- Fixed in
- 7.1.8
- Check
pip show mkdocs-include-markdown-plugin
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
CWE-20: Improper Input Validation Low impact
Patches
Patched in v7.1.8 (commit https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915)
Workarounds
No
Credited to mondeja.
References
- https://github.com/mondeja/mkdocs-include-markdown-plugin/security/advisories/GHSA-v39m-5m9j-m9w9
- https://github.com/mondeja/mkdocs-include-markdown-plugin/issues/274
- https://github.com/mondeja/mkdocs-include-markdown-plugin/pull/277
- https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/7466d67aa0de8ffbc427204ad2475fed07678915
- https://nvd.nist.gov/vuln/detail/CVE-2025-59940
- https://github.com/advisories/GHSA-v39m-5m9j-m9w9
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
