Description
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.
Metrics
CVSS 3.1 4.9/10
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| HackMD | CodiMD | < 2.2.1 |
References
- https://github.com/hackmdio/codimd/issues/1910Exploit, Issue Tracking
- https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.mdExploit, Third Party Advisory
- https://github.com/hackmdio/codimd/issues/1910Exploit, Issue Tracking
Timeline
- Published
- Apr 26, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed