Categories
CVE-2026-73295 medium CVSS 5.4

Cross-Site Scripting (XSS) in mkdocs-material (CVE-2026-73295)

Summary

Cross-site scripting in mkdocs-material (CVE-2026-73295). Risk of unauthorized operations or information disclosure. Exploitable via search.suggest. Mitigation: upgrade to 9.7.7 or later.

Original description

The description as published by the source.

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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-73295 has been found in mkdocs-material.
Attackers can target a specific entry point like search.suggest over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 5.4/10.
What to do: upgrade mkdocs-material to 9.7.7 or later.
If unsure, ask your IT team or search "mkdocs-material CVE-2026-73295" on the vendor's site.

CVE-2026-73295 (mkdocs-material) — CWE-79 / CVSS v3 5.4
Attack vector: remote (network-reachable) / unauthenticated
Attack surface: search.suggest
Patched: 9.7.7 — apply immediately
Workaround: Sites unable to upgrade should disable the search.suggest feature.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

Cross-site scripting (XSS) (CWE-79) exists in mkdocs-material. Attackers reach the vulnerable code path via search.suggest without authentication.

📍 Affected scope

Check the vendor advisory for the affected versions of mkdocs-material. Attack surface: search.suggest.

🔥 Severity

Severity: Medium (CVSS 5.4/10). Risk of unauthorized operations or information disclosure.

🔧 How to fix

Update to 9.7.7.

🛡️ Workaround

Workaround: Sites unable to upgrade should disable the search.suggest feature.

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'mkdocs-material' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    grep -r 'mkdocs-material' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で mkdocs-material を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply temporary workaround mitigate
    Sites unable to upgrade should disable the `search.suggest` feature.

    パッチが適用されるまでの応急処置として、Sites unable to upgrade should disable the search.suggest feature. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade mkdocs-material to 9.7.7

    ステージング環境で 9.7.7 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

pip mkdocs-material
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.7.7"}]}]

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details