CVE-2026-46492

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

Configuration 1 (hide)

cpe:2.3:a:commenthol:md-fileserver:*:*:*:*:*:node.js:*:*

History

12 Aug 2026, 17:48

Type Values Removed Values Added
CPE cpe:2.3:a:commenthol:md-fileserver:*:*:*:*:*:node.js:*:*
First Time Commenthol md-fileserver
Commenthol
References () https://github.com/commenthol/md-fileserver/releases/tag/v1.10.3 - () https://github.com/commenthol/md-fileserver/releases/tag/v1.10.3 - Release Notes
References () https://github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv - () https://github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv - Vendor Advisory, Exploit

23 Jul 2026, 08:10

Type Values Removed Values Added
Summary
  • (es) md-fileserver permite la visualización local de archivos markdown en un navegador. Antes de la versión 1.10.3, existe una vulnerabilidad de cross-site scripting (XSS) en la lógica de renderizado de Markdown de la aplicación. Cuando se renderiza contenido Markdown proporcionado por el usuario, el HTML sin procesar incrustado -incluyendo etiquetas <script>- se procesa y se inyecta en la página resultante sin sanitización, permitiendo la ejecución arbitraria de JavaScript en el contexto del dominio afectado. Este problema ha sido parcheado en la versión 1.10.3.

09 Jun 2026, 20:16

Type Values Removed Values Added
References () https://github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv - () https://github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv -

09 Jun 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-09 17:17

Updated : 2026-08-12 17:48


NVD link : CVE-2026-46492

Mitre link : CVE-2026-46492

CVE.ORG link : CVE-2026-46492


JSON object : View

Products Affected

commenthol

  • md-fileserver
CWE
CWE-80

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

CWE-87

Improper Neutralization of Alternate XSS Syntax