CVE-2026-73295
MediumCVSS 5.4Exploitation Probability (EPSS)
Low risk8th percentile - higher than 8% of all known CVEs
Summary
Material for MkDocs versions 7.2.0 through 9.7.7 contain a DOM-based XSS vulnerability in the mountSearchSuggest function, allowing crafted q URL parameters to execute JavaScript in the documentation site's origin after user interaction.
Risk Assessment
An attacker could exploit this to run malicious scripts in the victim's browser, potentially leading to session theft or other attacks within the trusted domain.
Recommendation
Update Material for MkDocs to version 9.7.7 or later, which includes the fix for this vulnerability.
Original NVD description (English source)
Material for MkDocs is a powerful documentation framework built on top of MkDocs. From 7.2.0 until 9.7.7, the mountSearchSuggest function in src/templates/assets/javascripts/components/search/suggest/index.ts contains a DOM-based cross-site scripting vulnerability in the optional search.suggest feature that allows a crafted q URL parameter to execute JavaScript in a documentation site's origin after user interaction. This issue is fixed in version 9.7.7.

