{"id":"CVE-2025-46654","aliases":["EUVD-2025-12480","GHSA-4r7r-xfq3-2r3v"],"status":"published","title":"CodiMD through 2.2.0 has a CSP-based protection mechanism against XSS through uploaded JavaScript...","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.","severity":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00263,"percentile":0.18244,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-424"],"published":"2025-04-26T00:00:00Z","modified":"2026-10-28T02:30:59Z","products":[{"vendor":"hackmd","product":"codimd"}],"references":[{"url":"https://github.com/hackmdio/codimd/issues/1910","tags":["exploit","Exploit","Issue Tracking","report"]},{"url":"https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46654","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4r7r-xfq3-2r3v"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46654.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-46654","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.","status":"published","published":"2025-04-26T00:00:00Z","modified":"2025-04-29T15:22:49.333Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-424"],"updated_at":"2026-11-02T14:32:36.385228Z"}],"euvd":[{"id":"EUVD-2025-12480","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.","status":"published","published":"2025-04-26T00:00:00Z","modified":"2025-04-29T15:22:49Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:00.449871Z"}],"ghsa":[{"id":"GHSA-4r7r-xfq3-2r3v","title":"CodiMD through 2.2.0 has a CSP-based protection mechanism against XSS through uploaded JavaScript...","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.","status":"published","published":"2025-04-26T21:31:26Z","modified":"2025-04-26T21:31:27Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-424"],"updated_at":"2026-11-02T15:02:02.838203Z"}],"nvd":[{"id":"CVE-2025-46654","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.","status":"published","published":"2025-04-26T21:15:15.1Z","modified":"2026-06-17T09:26:46.87Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-424"],"updated_at":"2026-11-02T14:11:02.570368Z"}],"osv":[{"id":"CVE-2025-46654","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.","status":"published","published":"2025-04-26T00:00:00Z","modified":"2026-10-28T02:30:59.082145989Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-424"],"updated_at":"2026-11-02T15:44:49.707645Z"}]}}
