Medium, CVSS 5.4PyPIPublished
Material for MkDocs: DOM XSS in search suggestions via query parameter
CVE-2026-73295 · GHSA-xvg9-69gf-fjrf
- Affected
- PyPI mkdocs-material >= 7.2.0, < 9.7.7
- Fixed in
- 9.7.7· Vendor fix available
- Issue
- Impact Material for MkDocs 7.2.0 through 9.7.6 contains a DOM-based cross-site scripting vulnerability in the optional search.suggest feature. A crafted q URL parameter could execute JavaScript in the documentation site's origin after user interaction. Patches The issue is fixed in Material for MkDocs 9.7.7. Users should upgrade to 9.7.7 or later. Workarounds Sites unable to upgrade should disable the search.suggest feature.
Recommended action: Upgrade to 9.7.7 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.