CVE-2025-46654 json
CodiMD through 2.2.0 has a CSP-based protection mechanism against XSS through uploaded JavaScript content, but it can be bypassed by upload…
published 2025-04-26 18 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-12480
- cvss
- 4.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- HackMD CodiMD 2.2.1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/hackmdio/codimd/issues/1910 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
Affected products
- HackMD CodiMD
Classification
- Weakness
-
- CWE-424 Improper Protection of Alternate Path
References
-
github.com
/hackmdio/codimd/issues/1910
exploit, issue-tracking
-
github.com
/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md
exploit, third-party-advisory
Sources
- CVE List CVE-2025-46654
- NVD CVE-2025-46654
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.