← Back to CVEs
CVE-2025-46654
MEDIUM4.9
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.
CVE Details
CVSS v3.1 Score4.9
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Attack VectorNETWORK
ComplexityHIGH
Privileges RequiredLOW
User InteractionNONE
Published4/26/2025
Last Modified8/5/2025
Sourcenvd
Honeypot Sightings0
Affected Products
hackmd:codimd
Weaknesses (CWE)
CWE-424
References
https://github.com/hackmdio/codimd/issues/1910(cve@mitre.org)
https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md(cve@mitre.org)
https://github.com/hackmdio/codimd/issues/1910(134c704f-9b21-4f2e-91b3-4a467353bcc0)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.