CVE-2026-73295
Received Received - Intake

DOM XSS in Material for MkDocs Search Suggest Feature

Vulnerability report for CVE-2026-73295, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-12

Last updated on: 2026-08-13

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-12
Last Modified
2026-08-13
Generated
2026-09-01
AI Q&A
2026-08-12
EPSS Evaluated
2026-08-31
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
mkdocs material From 7.2.0 (inc) to 9.7.7 (inc)
squidfunk mkdocs-material From 7.2.0 (inc) to 9.7.6 (inc)
squidfunk mkdocs-material 9.7.7

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-73295 is a DOM-based cross-site scripting (XSS) vulnerability in Material for MkDocs versions 7.2.0 through 9.7.6. It affects the optional search.suggest feature where a crafted URL parameter named 'q' can execute malicious JavaScript in the documentation site's origin after user interaction.

Detection Guidance

Check Material for MkDocs version with: pip show mkdocs-material. If version is between 7.2.0 and 9.7.6, the system is vulnerable. Inspect web server logs for requests containing the crafted 'q' URL parameter in search.suggest feature.

Impact Analysis

The vulnerability allows attackers to execute malicious scripts in the context of your documentation site. This could lead to theft of session cookies, data exfiltration, or unauthorized actions performed on behalf of users who interact with the search suggestions.

Compliance Impact

This DOM-based XSS vulnerability could allow attackers to execute malicious JavaScript in a documentation site's origin after user interaction. This could lead to unauthorized data access, modification, or exfiltration, potentially violating GDPR's data protection requirements and HIPAA's safeguards for protected health information if such data were present in the documentation.

Mitigation Strategies

Upgrade to Material for MkDocs version 9.7.7 or later. Alternatively, disable the search.suggest feature in MkDocs configuration until upgrade is completed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-73295. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart