CVE-2026-46492

High

Description

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductCommenthol Md-fileserver
PublishedJun 9, 2026
First seenJun 9, 2026

How to fix

Update
  • commenthol md-fileserver1.10.3 or later
  • md-fileserver1.10.3 or later

Affected products

ProductAffected versionsFixed in
commenthol md-fileserverv < 1.10.31.10.3
md-fileservernpmv < 1.10.31.10.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.