CVE-2026-46492

Source
https://cve.org/CVERecord?id=CVE-2026-46492
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46492.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-46492
Aliases
Published
2026-06-09T16:09:29.077Z
Modified
2026-07-25T03:56:40.917548955Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
md-fileserver: Stored/Reflected XSS when viewing Markdown (raw HTML allowed)
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-80",
        "CWE-87"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46492.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/commenthol/md-fileserver

Affected ranges

Type
GIT
Repo
https://github.com/commenthol/md-fileserver
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.10.3"
        }
    ]
}

Affected versions

v0.*
v0.1.3
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.3.0
v0.3.1
v0.3.2
v0.4.0
v0.4.1
v0.4.2
v1.*
v1.0.0
v1.0.1
v1.1.0
v1.1.1
v1.10.0
v1.10.1
v1.10.2
v1.2.0
v1.2.1
v1.3.0
v1.3.1
v1.3.2
v1.4.0
v1.4.1
v1.4.2
v1.5.0
v1.6.0
v1.6.1
v1.6.2
v1.6.3
v1.6.4
v1.6.5
v1.6.6
v1.6.7
v1.7.0
v1.7.1
v1.7.2
v1.8.0
v1.9.0
v1.9.1
v1.9.2
v1.9.3
v1.9.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46492.json"