CVE-2025-46654
MEDIUMCVSS 4.9/10EPSS 0.21%
Last modified
CVE-2025-46654 is a medium-severity vulnerability rated 4.9/10 on the CVSS scale. 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.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hackmd | Codimd | <= 2.2.0 |
References
- https://github.com/hackmdio/codimd/issues/1910Exploit, Issue Tracking
- https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.mdExploit, Third Party Advisory
- https://github.com/hackmdio/codimd/issues/1910Exploit, Issue Tracking
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is 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.
How severe is CVE-2025-46654?
CVE-2025-46654 has a CVSS score of 4.9/10 (MEDIUM severity). The EPSS model estimates a 0.21% probability of exploitation in the next 30 days.
How do I fix CVE-2025-46654?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2025-46654?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
