{"id":"CVE-2026-73295","published":"2026-08-12T16:15:22Z","modified":"2026-08-13T16:25:06Z","title":"Material for MkDocs: DOM XSS in search suggestions via query parameter","vendor":"squidfunk","product":"mkdocs-material","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00327,"percentile":0.26444,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/squidfunk/mkdocs-material/security/advisories/GHSA-xvg9-69gf-fjrf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/squidfunk/mkdocs-material/commit/52fb6be8aafe326419f34dc94d3211e7bbfbfb25","tags":["x_refsource_MISC"]},{"url":"https://github.com/squidfunk/mkdocs-material/releases/tag/9.7.7","tags":["x_refsource_MISC"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":5.29},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"squidfunk","affectedVersions":[{"vendor":"squidfunk","product":"mkdocs-material","versions":[">= 7.2.0, < 9.7.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-13T16:24:55.991442Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mkdocs-material","vulnerableRanges":[">=7.2.0, <9.7.7"],"patched":["9.7.7"],"from":["GHSA-xvg9-69gf-fjrf","PYSEC-2026-3864"],"provenance":"source"}],"summary":{"text":"The mkdocs-material documentation framework (versions 7.2.0 through 9.7.7, by squidfunk) contains a DOM-based cross-site scripting flaw in the mountSearchSuggest function of its optional search.suggest component, where a crafted q URL parameter is not neutralised. An attacker can get JavaScript to run in a documentation site's origin by tricking a user into interacting with a crafted link, so user interaction is required, and the feature must be enabled in the site's configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:49Z"},"euvd":{"id":"EUVD-2026-57321","exploited":false,"provenance":"source"}}