Material for MkDocs: DOM XSS in search suggestions via query parameter
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| squidfunk | mkdocs-material | 7.2.0 to before 9.7.7 | 9.7.7 | Patch available | CNA |
| — | mkdocs-material (PyPI) | 7.2.0 to before 9.7.7 | 9.7.7 | Patch available | GHSA-xvg9-69gf-fjrf |
- mkdocs-material Vendorsquidfunk Affected 7.2.0 to before 9.7.7 Fixed in 9.7.7 Patch available CNA
- mkdocs-material (PyPI) Vendor— Affected 7.2.0 to before 9.7.7 Fixed in 9.7.7 Patch available GHSA-xvg9-69gf-fjrf
Remediation
- Fix · CNA mkdocs-material (squidfunk) Fixed in 9.7.7
- Fix · GHSA-xvg9-69gf-fjrf mkdocs-material (PyPI) Fixed in 9.7.7 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Certification Program for Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Developer Hub 1 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Self-service automation portal 2 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2026-73295
- 2026-10-03 Alias added: GHSA-xvg9-69gf-fjrf
- 2026-10-27 Affected versions changed · Red Hat
References
Sources
- CVE-2026-73295 · CVE Program
- CVE-2026-73295 · NVD
- FIRST EPSS
- GHSA-xvg9-69gf-fjrf · GitHub Advisory Database · CC BY 4.0
- CVE-2026-73295 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences