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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-46646In Artifex Ghostscript before 10.05.0, decode_utf8 in base/g…4.5
- CVE-2025-46647A vulnerability of plugin openid-connect in Apache APISIX. …5.3
- CVE-2025-4665WordPress plugin Contact Form CFDB7 versions up to and inclu…9.6
- CVE-2025-46651Tiny File Manager through 2.6 contains a server-side request…4.3
- CVE-2025-46652In IZArc through 4.5, there is a Mark-of-the-Web Bypass Vuln…6.1
- CVE-2025-46653Formidable (aka node-formidable) 2.1.0 through 3.x before 3.…3.1
- CVE-2025-46655CodiMD through 2.5.4 has a CSP-based protection mechanism ag…4.9
- CVE-2025-46656python-markdownify (aka markdownify) before 0.14.1 allows la…3.3
- CVE-2025-46657Karaz Karazal through 2025-04-14 allows reflected XSS via th…6.1
- CVE-2025-46658An issue was discovered in ExonautWeb in 4C Strategies Exona…9.8
- CVE-2025-46659An issue was discovered in ExonautWeb in 4C Strategies Exona…7.5
- CVE-2025-4666The Zotpress plugin for WordPress is vulnerable to Stored Cr…6.4
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
