CVE-2026-46492

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

State
Published
Severity
7.2 High
Published
Jun 9, 2026
Updated
Jun 9, 2026
Reserved
May 14, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
  • CWE-87 Improper Neutralization of Alternate XSS Syntax

Affected Products

ProductVersions
md-fileservercommenthol
  • < 1.10.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.