mkdocs-material
Affected
- introduced
7.2.0, fixed9.7.7(ecosystem)
Fixed versions
9.7.7
Fix
- Fixed version
9.7.7pip install --upgrade mkdocs-material==9.7.7
Advisory
Also known as: CVE-2026-73295, GHSA-xvg9-69gf-fjrf
Material for MkDocs: DOM XSS in search suggestions via query parameter
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.
Medium Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
7.2.0, fixed 9.7.7 (ecosystem)9.7.7
9.7.7pip install --upgrade mkdocs-material==9.7.7Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0