CVE-2026-46492 json
md-fileserver: Stored/Reflected XSS when viewing Markdown (raw HTML allowed)
published 2026-05-21 5 mo ago modified 2026-08-12 2 mo ago also GHSA-32q2-hhr5-6qvv , EUVD-2026-35496
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 14%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm md-fileserver 1.10.3
- commenthol md-fileserver 1.10.3
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | md-fileserver | <1.10.3 |
1.10.3 |
Affected products
- commenthol md-fileserver
Classification
References
-
github.com
/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv
exploit, web, vendor-advisory
-
github.com
/commenthol/md-fileserver/releases/tag/v1.10.3
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-46492
advisory
-
github.com
/commenthol/md-fileserver
package
Sources
- CVE List CVE-2026-46492
- GitHub Advisory GHSA-32q2-hhr5-6qvv
- NVD CVE-2026-46492
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.