CVE-2026-73295: Material for MkDocs: DOM XSS in search suggestions via query parameter
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-17 06:13 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by GitHub_M, published 2026-08-12).
Weakness: CWE-79: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’)
How it can be exploited
Exploitable over the network with low attack complexity needing no privileges and a user must take an action. Impact: confidentiality low, integrity low, availability none. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: no. Technical impact: partial.
Public exploit evidence (Exploit Observer)
Exploit Observer found 3 code repositories naming this CVE.
Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.
See all 10 references on Exploit Observer
Live scores
- EPSS
- 0.003
low predicted chance of attack - VEDAS
- 0.986
strong exploit evidence - On CISA KEV
- Not listed
- Detection rule
- Suricata
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| Squidfunk mkdocs-material | version >= 7.2.0, < 9.7.7 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.
How to detect it
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2026-73295 Material for MkDocs - search.suggest q Parameter DOM XSS. Add them to your Suricata rule set and reload.
Show the rules
# CVE-2026-73295 - Material for MkDocs 7.2.0 - 9.7.6 DOM-based XSS: the optional
# search.suggest feature (mountSearchSuggest) uses the 'q' URL parameter to build markup
# that executes JavaScript in the documentation site's origin. This matches a request to a
# docs site whose 'q' query parameter carries an HTML/script payload.
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2026-73295 Material for MkDocs - search.suggest q Parameter DOM XSS"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"q="; fast_pattern; pcre:"/[?&]q=[^&]*(?:%3c|<)\s*(?:svg|script|img|iframe|body|on\w+\s*(?:%3d|=))/i"; classtype:web-application-attack; reference:cve,CVE-2026-73295; reference:url,https://www.exploit.observer/?keyword=CVE-2026-73295&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=mkdocs&match=exact; sid:1098602; rev:1;)
CVE-2026-73295.rules on GitHub
References
Other references
- https://github.com/squidfunk/mkdocs-material/security/advisories/GHSA-xvg9-69gf-fjrf (x_refsource_CONFIRM)
- https://github.com/squidfunk/mkdocs-material/commit/52fb6be8aafe326419f34dc94d3211e7bbfbfb25 (x_refsource_MISC)
- https://github.com/squidfunk/mkdocs-material/releases/tag/9.7.7 (x_refsource_MISC)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.
Supporting partners