{"id":"CVE-2025-46654","details":"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.","modified":"2026-04-10T05:28:31.405117Z","published":"2025-04-26T21:15:15.100Z","references":[{"type":"REPORT","url":"https://github.com/hackmdio/codimd/issues/1910"},{"type":"EVIDENCE","url":"https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hackmdio/codimd","events":[{"introduced":"0"},{"last_affected":"3e7544576b2d5d26efe8dfa40cdb9f1116ebaa78"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.2.0"}]}}],"versions":["0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.5.0","1.0.0-ce","1.0.1-ce","1.1.0-ce","1.1.1-ce","1.2.0","1.2.1","1.3.0","1.3.1","1.4.0","1.4.1","2.0.0","2.0.1","2.1.0","2.2.0","v0.3.3","v0.3.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46654.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}