Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
MEDIUM severity

CVE-2026-73295 — mkdocs-material

MEDIUMFix: squidfunk/mkdocs-material@52fb6be

CVE-2026-73295 is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in mkdocs-material. A fix is available for mkdocs-material — see the affected versions and patch details below.

Material for MkDocs: DOM XSS in search suggestions via query parameter

Also known asGHSA-xvg9-69gf-fjrfPYSEC-2026-3864
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Oct 18, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-73295.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs24th percentile — riskier than 24% of all scored CVEsHighest risk
0.00%0.28%0.55%0.83%0.2%0.3%0.3%Sep 26Oct 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2026-73295 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 391,915 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected
🐍mkdocs-material

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

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

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPImkdocs-material≥ 7.2.0&&< 9.7.79.7.7pip install --upgrade 'mkdocs-material==9.7.7'

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for mkdocs-material, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update mkdocs-material to 9.7.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-73295 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

This Moderate DOM-based cross-site scripting flaw in Material for MkDocs requires user interaction with a specially crafted URL. The vulnerability affects an optional search suggestion feature, which limits its immediate impact on typical Red Hat deployments where this feature may not be enabled by default.

Workaround published by Red Hat
To mitigate this issue, disable the optional search.suggest feature in Material for MkDocs if it is not required for your deployment. Consult the Material for MkDocs documentation for specific configuration instructions on how to disable this feature. Disabling this feature may impact the search functionality of your documentation site.
Source: Red Hat security advisory for CVE-2026-73295 (CC BY 4.0)

Frequently Asked Questions

### 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.
O3 Security · Impact-Aware SCA

Is CVE-2026-73295 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2026-73295: mkdocs-material XSS — Fixed in 9.7.7