{"id":"CVE-2025-46655","details":"CodiMD through 2.5.4 has a CSP-based protection mechanism against XSS through uploaded SVG documents containing JavaScript, but it can be bypassed in certain cases of different-origin file storage, such as AWS S3. NOTE: it can be considered a user error if AWS is employed for hosting untrusted JavaScript content, but the selected architecture within AWS does not have components that are able to insert Content-Security-Policy headers.","modified":"2026-08-12T03:51:31.621679307Z","published":"2025-04-26T00:00:00Z","database_specific":{"cna_assigner":"mitre","cwe_ids":["CWE-424"],"isDisputed":true,"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46655.json"},"references":[{"type":"WEB","url":"https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46655.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46655"},{"type":"REPORT","url":"https://github.com/hackmdio/codimd/issues/1910"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hackmdio/codimd","events":[{"introduced":"0"},{"fixed":"da511d0b1661e1f496e700bda35dc2b127dd456e"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"2.5.4"},{"fixed":"2.5.4"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["2.5.3","2.5.2","2.5.1","2.5.0","2.4.2","2.4.1","2.4.0","2.3.2","2.3.1","2.3.0","2.2.0","2.1.0","2.0.1","2.0.0","1.4.1","1.4.0","1.3.1","1.3.0","1.2.1","1.2.0","1.1.1-ce","1.1.0-ce","1.0.1-ce","1.0.0-ce","0.5.0","0.4.6","0.4.5","0.4.4","0.4.3","0.4.2","0.4.1","0.4.0","v0.3.4","v0.3.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46655.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}