Skip to content
Heist/ feed
Back to feed
Medium

mkdocs-material — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-73295

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.

Products
mkdocs-material
Affected versions
8.2.5-1, 9.4.0-1, 9.4.0-1.1, 9.4.0-2, 9.6.4-1, 9.6.4-1build1, 9.6.4-2
Fixed versions
Not specified
CVEs
CVE-2026-73295
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:15 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-73295

core-osv · Original source

Published 12 Aug 2026, 17:17 UTC

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.

osv:UBUNTU-CVE-2026-73295

mkdocs-material

Fixed versions: Not specified

mkdocs-material

Fixed versions: Not specified

mkdocs-material

Fixed versions: Not specified

Complete source record
{
  "id": "c8588beece67ea87ae7387ee814ad2663799d0c8ed5682cce1cbf194221b2bdb",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-73295",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-73295",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-73295",
    "products": [
      {
        "name": {
          "value": "mkdocs-material",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.2.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.4.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.4.0-1.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "9.4.0-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mkdocs-material",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.6.4-1build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "9.6.4-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mkdocs-material",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.6.4-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "9.6.4-1build1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-73295",
      "aliases": [
        "UBUNTU-CVE-2026-73295"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mkdocs-material",
            "purl": "pkg:deb/ubuntu/mkdocs-material?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "8.2.5-1",
            "9.4.0-1",
            "9.4.0-1.1",
            "9.4.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73295.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mkdocs-material",
                "binary_version": "9.4.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mkdocs-material",
            "purl": "pkg:deb/ubuntu/mkdocs-material?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "9.6.4-1build1",
            "9.6.4-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73295.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mkdocs-material",
                "binary_version": "9.6.4-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mkdocs-material",
            "purl": "pkg:deb/ubuntu/mkdocs-material?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "9.6.4-1",
            "9.6.4-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73295.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "mkdocs-material",
                "binary_version": "9.6.4-1build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:03.534644007Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-73295"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-73295",
        "https://www.cve.org/CVERecord?id=CVE-2026-73295",
        "https://github.com/squidfunk/mkdocs-material/security/advisories/GHSA-xvg9-69gf-fjrf",
        "https://github.com/squidfunk/mkdocs-material/commit/52fb6be8aafe326419f34dc94d3211e7bbfbfb25",
        "https://github.com/squidfunk/mkdocs-material/releases/tag/9.7.7"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-73295",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360908,
  "published_at": "2026-08-12T17:17:00+00:00"
}