CVE-2026-46492
md-fileserver: Stored/Reflected XSS when viewing Markdown (raw HTML allowed)
MEDIUM 6.1EPSS 0.3%
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.
- Affected
- commenthol · md-fileserver
- CVSS v3.1 NVD
- 6.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS v3.1 GITHUB
- 7.2 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - EPSS
- 0.34% chance of exploitation in the next 30 days, 26th percentile
- Published
- 2026-06-09
Proof-of-concept exploits (1)
Security advisories
- commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv
- commenthol/md-fileserver/releases/tag/v1.10.3