Vulnerability in Hackmd Codimd
CVE-2025-46654
CodiMD through 2.2.0 has a CSP-based protection mechanism against XSS through uploaded JavaScript content, but it can be bypassed by uploading a .html file that references an uploaded .js file.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 18.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Hackmd Codimd — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (fkie-cad/nvd-json-data-feeds, zast-ai/vulnerability-reports). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/hackmdio/codimd/issues/1910 (Exploit, Issue Tracking)
- github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/repor… (Exploit, Third Party Advisory)