Vulnerability · Published Apr 26, 2025 · Assigned by mitre

CVE-2025-46654

Medium 4.9

In plain English

A medium-severity security flaw in CodiMD from HackMD. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities).

Severity (CVSS 3.1)4.9Medium
Exploit odds (30 days)0.3%top 81.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected products (as reported)

VendorProductVersions
HackMD CodiMD 0 – before 2.2.1

Weakness: CWE-424 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

References