CVE-2026-46492

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

Published Jun 9, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-32q2-hhr5-6qvv md-fileserver: Stored/Reflected XSS when viewing Markdown (raw HTML allowed)
History
Type Values Removed Values Added
CPEs cpe:2.3:a:commenthol:md-fileserver:*:*:*:*:*:node.js:*:*
Type Values Removed Values Added
First Time appeared Commenthol
Commenthol md-fileserver
Vendors & Products Commenthol
Commenthol md-fileserver
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title md-fileserver: Stored/Reflected XSS when viewing Markdown (raw HTML allowed)
Weaknesses CWE-80
CWE-87
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 9, 2026, 6:39 PM
Reserved
May 14, 2026, 6:06 PM
Status
Analyzed
Published
Jun 9, 2026, 5:17 PM
Modified
Aug 12, 2026, 5:48 PM