CVE-2025-46654
CVE-2025-46654 is a medium-severity vulnerability in Hackmd Codimd with a CVSS 3.x base score of 4.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-424.
Key facts
- Severity: Medium (CVSS 3.x base score 4.9)
- EPSS exploit prediction: 0% (11th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-12480
- Weakness: CWE-424
- Affected product: Hackmd Codimd
- Published:
- Last modified:
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.
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 3.x base score of 4.9, rated medium severity. It is exploitable over network with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2025-46654 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (11th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-46654?
- CVE-2025-46654 affects Hackmd Codimd. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-46654?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-46654 have an EU (EUVD) identifier?
- Yes. CVE-2025-46654 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-12480.
- When was CVE-2025-46654 published?
- CVE-2025-46654 was published on 2025-04-26 and last updated on 2026-06-17.
References
- https://github.com/hackmdio/codimd/issues/1910
- https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md
Affected products (1)
- cpe:2.3:a:hackmd:codimd:*:*:*:*:*:*:*:*
More vulnerabilities in Hackmd Codimd
- CVE-2024-38354 — High (CVSS 8.1): CodiMD allows realtime collaborative markdown notes on all platforms. The notebook feature of Hackmd.io permits the…
- CVE-2024-22778 — High (CVSS 7.5): HackMD CodiMD <2.5.2 is vulnerable to Denial of Service.
- CVE-2019-15499 — Medium (CVSS 6.1): CodiMD 1.3.1, when Safari is used, allows XSS via an IFRAME element with allow-top-navigation in the sandbox attribute,…
- CVE-2024-38353 — Medium (CVSS 5.3): CodiMD allows realtime collaborative markdown notes on all platforms. CodiMD before 2.5.4 is missing authentication and…
All CVEs affecting Hackmd Codimd →
Other CWE-424 vulnerabilities
- CVE-2025-48827 — Critical (CVSS 10.0): vBulletin 5.0.0 through 5.7.5 and 6.0.0 through 6.0.3 allows unauthenticated users to invoke protected API controllers'…
- CVE-2025-48828 — Critical (CVSS 9.0): Certain vBulletin versions might allow attackers to execute arbitrary PHP code by abusing Template Conditionals in the…
- CVE-2024-58136 — Critical (CVSS 9.0): Yii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class array key, a CVE-2024-4990…
- CVE-2023-52952 — High (CVSS 8.5): A vulnerability has been identified in HiMed Cockpit 12 pro (J31032-K2017-H259) (All versions >= V11.5.1 < V11.6.2),…
- CVE-2024-3459 — High (CVSS 8.4): KioWare for Windows (versions all through 8.34) allows to escape the environment by downloading PDF files, which then…
- CVE-2025-68939 — High (CVSS 8.2): Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name…