Vulnerability · Published Aug 12, 2026 · Assigned by GitHub_M
CVE-2026-73295Material for MkDocs: DOM XSS in search suggestions via query parameter
Medium 5.4
In plain English
A medium-severity cross-site scripting in mkdocs-material from squidfunk. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | mkdocs-material | no fix listed | DEBIAN-CVE-2026-73295 |
| Debian:13 | mkdocs-material | no fix listed | DEBIAN-CVE-2026-73295 |
| Debian:14 | mkdocs-material | no fix listed | DEBIAN-CVE-2026-73295 |
| PyPI | mkdocs-material | 9.7.7 | PYSEC-2026-3864 |
| PyPI | mkdocs-material | 9.7.7 | GHSA-xvg9-69gf-fjrf |
| Ubuntu:24.04:LTS | mkdocs-material | no fix listed | UBUNTU-CVE-2026-73295 |
| Ubuntu:26.04:LTS | mkdocs-material | no fix listed | UBUNTU-CVE-2026-73295 |
| Ubuntu:26.10 | mkdocs-material | no fix listed | UBUNTU-CVE-2026-73295 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| squidfunk | mkdocs-material | >= 7.2.0, < 9.7.7 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N