CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

4.9 CVSS

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.

Classification

CVE ID: CVE-2025-46654

CVSS Base Severity: MEDIUM

CVSS Base Score: 4.9

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

Problem Types

CWE-424 Improper Protection of Alternate Path

Affected Products

Vendor: HackMD

Product: CodiMD

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.03% (probability of being exploited)

EPSS Percentile: 7.1% (scored less or equal to compared to others)

EPSS Date: 2025-05-25 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-46654
https://github.com/hackmdio/codimd/issues/1910
https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md

Timeline