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

Tue, 09 Jun 2026 16:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-09T16:09:29.077Z

Reserved: 2026-05-14T18:06:06.811Z

Link: CVE-2026-46492

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-09T17:17:33.730

Modified: 2026-06-09T17:17:33.730

Link: CVE-2026-46492

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.