CVE-2026-46492
MEDIUM 6.1CVSS 3.1md-fileserver: Stored/Reflected XSS when viewing Markdown (raw HTML allowed)
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.
- Published
- 9 Jun 2026
- Last modified
- 12 Aug 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-80CWE-87
- Also known as
- GHSA-32q2-hhr5-6qvv
- Sources
- NVDJSONOSV GHSA-32q2-hhr5-6qvvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | commenthol | md-fileservercpe:2.3:a:commenthol:md-fileserver:*:*:*:*:*:node.js:*:* |
< 1.10.3 | 1.10.3 |
| OSV | npm | md-fileserver | < 1.10.3 | 1.10.3 |
References
- https://github.com/commenthol/md-fileserver/releases/tag/v1.10.3 · Release Notes, WEB
- https://github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv · Vendor Advisory, Exploit, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-46492 · ADVISORY
- https://github.com/commenthol/md-fileserver · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 9 Jun 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 21 May 2026)