{"id":"CVE-2026-46492","published":"2026-06-09T16:09:29Z","modified":"2026-06-09T18:39:21Z","title":"md-fileserver: Stored/Reflected XSS when viewing Markdown (raw HTML allowed)","vendor":"commenthol","product":"md-fileserver","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00232,"percentile":0.1434,"provenance":"source"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"id":"CWE-87","name":"Improper Neutralization of Alternate XSS Syntax"}],"references":[{"url":"https://github.com/commenthol/md-fileserver/security/advisories/GHSA-32q2-hhr5-6qvv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/commenthol/md-fileserver/releases/tag/v1.10.3","tags":["x_refsource_MISC"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":2.87},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"commenthol","affectedVersions":[{"vendor":"commenthol","product":"md-fileserver","versions":["< 1.10.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-09T18:25:03.113474Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"md-fileserver","vulnerableRanges":["<1.10.3"],"patched":["1.10.3"],"from":["GHSA-32q2-hhr5-6qvv"],"provenance":"source"}],"summary":{"text":"The md-fileserver product from commenthol has a cross-site scripting flaw in its Markdown rendering logic, where raw HTML embedded in user-supplied Markdown, including script tags, is injected into rendered pages without sanitization. An attacker can cause arbitrary JavaScript to run in the context of the affected domain by getting a user to view crafted Markdown content, requiring no authentication and network access only.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:33Z"},"euvd":{"id":"EUVD-2026-35496","exploited":false,"provenance":"source"}}