CVE-2025-46654

published 26 Apr 2025 · updated 29 Apr 2025

CodiMD through 2.2.0 has a CSP-based protection mechanism against XSS through uploaded JavaScript content, but it can be bypassed by…

4.9MediumCVSS 4.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.2.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
HackMD<2.2.12.2.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-46654 severity on Zeptric[![CVE-2025-46654](https://zeptric.io/badge/cve/CVE-2025-46654.svg)](https://zeptric.io/cve/CVE-2025-46654)