CVE-2025-46654

Medium

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.

SeverityMedium
CVSS4.9
Exploit probability—
ProductHackmd Codimd
PublishedApr 26, 2025
First seenApr 26, 2025
Weakness typeCWE-424CWE-424

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
hackmd codimdv ≤ 2.2.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-46654 · Hackmd Codimd · Dark Radar