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.
References
Link | Resource |
---|---|
https://github.com/hackmdio/codimd/issues/1910 | Exploit Issue Tracking |
https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md | Exploit Third Party Advisory |
https://github.com/hackmdio/codimd/issues/1910 | Exploit Issue Tracking |
Configurations
History
16 Jun 2025, 21:00
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:hackmdio:codimd:*:*:*:*:*:*:*:* | |
First Time |
Hackmdio
Hackmdio codimd |
|
References | () https://github.com/hackmdio/codimd/issues/1910 - Exploit, Issue Tracking | |
References | () https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md - Exploit, Third Party Advisory |
29 Apr 2025, 16:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/hackmdio/codimd/issues/1910 - |
29 Apr 2025, 13:52
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
26 Apr 2025, 21:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-04-26 21:15
Updated : 2025-06-16 21:00
NVD link : CVE-2025-46654
Mitre link : CVE-2025-46654
CVE.ORG link : CVE-2025-46654
JSON object : View
Products Affected
hackmdio
- codimd
CWE
CWE-424
Improper Protection of Alternate Path