CVE-2026-46492

HIGH

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

Title source: cna
STIX 2.1

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.

References (2)

Core 2

Scores

CVSS v3 7.2
EPSS 0.0021
EPSS Percentile 11.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-80 CWE-87
Status published
Products (2)
commenthol/md-fileserver < 1.10.3
npm/md-fileserver 0 - 1.10.3npm
Published Jun 09, 2026
Tracked Since Jun 09, 2026