Skip to main content
← All vulnerabilities
CVE-2026-46492GHSA-32Q2-HHR5-6QVV

md-fileserver: Stored/Reflected XSS when viewing Markdown (raw HTML allowed)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.10.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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 <script> 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • commenthol md-fileserver

    fixed in 1.10.3

  • md-fileservernpm

    fixed in 1.10.3

References 2

GitHub · commenthol/md-fileserver