Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. md-fileserver
  4. ›
  5. CVE-2026-46492

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

May 21, 2026 (updated June 9, 2026)

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 tags—is processed and injected into the resulting page without sanitization, allowing arbitrary JavaScript execution in the context of the affected domain.

References

  • github.com/advisories/GHSA-32q2-hhr5-6qvv
  • github.com/commenthol/md-fileserver/releases/tag/v1.10.3
  • github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv
  • nvd.nist.gov/vuln/detail/CVE-2026-46492

Code Behaviors & Features

Detect and mitigate CVE-2026-46492 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.10.3

Fixed versions

  • 1.10.3

Solution

Upgrade to version 1.10.3 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

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

Source file

npm/md-fileserver/CVE-2026-46492.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:11 +0000.