{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.10.3"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f16f2fdc64b6b8b9b70fd7a27fcc92b9c2d9f74a"
            }
          ],
          "repo": "https://github.com/commenthol/md-fileserver",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-32q2-hhr5-6qvv"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-80",
      "CWE-87"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46492.json"
  },
  "details": "md-fileserver allows for local viewing of markdown files in a browser. Prior to version 1.10.3, a cross-site scripting (XSS) vulnerability exists in the application’s Markdown rendering logic. When user-supplied Markdown content is rendered, embedded raw HTML—including \u003cscript\u003e tags—is processed and injected into the resulting page without sanitization, allowing arbitrary JavaScript execution in the context of the affected domain. This issue has been patched in version 1.10.3.",
  "id": "CVE-2026-46492",
  "modified": "2026-08-04T11:31:00.103844044Z",
  "published": "2026-06-09T16:09:29.077Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/commenthol/md-fileserver/releases/tag/v1.10.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46492.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46492"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "md-fileserver: Stored/Reflected XSS when viewing Markdown (raw HTML allowed)"
}