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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:hackmdio:codimd:*:*:*:*:*:*:*:*

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 - () 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 - () 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 - () https://github.com/hackmdio/codimd/issues/1910 -

29 Apr 2025, 13:52

Type Values Removed Values Added
Summary
  • (es) CodiMD hasta la versión 2.2.0 tiene un mecanismo de protección basado en CSP contra XSS a través de contenido JavaScript cargado, pero se puede evitar cargando un archivo .html que haga referencia a un archivo .js cargado.

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