What’s Vulnerable › Vulnerabilities
CVE-2026-46492: md-fileserver: Stored/Reflected XSS when viewing Markdown (raw HTML allowed)
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-06-09 · updated 2026-08-12
- Weakness: CWE-80
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.
Affected products
- commenthol md-fileserver: before 1.10.3 — fixed in 1.10.3
How to fix
Upgrade to a fixed version: commenthol md-fileserver 1.10.3. Check the vendor advisory for mitigations.
References
- https://github.com/commenthol/md-fileserver/releases/tag/v1.10.3
- https://github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv
- https://github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv
Get alerted when CVE-2026-46492 or the next vulnerability affects your stack