{"id":"CVE-2025-46654","published":"2025-04-26T00:00:00Z","modified":"2025-04-29T15:22:49Z","title":"CodiMD through 2.2.0 has a CSP-based protection mechanism against XSS through uploaded JavaScript content, but it can…","vendor":"HackMD","product":"CodiMD","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00434,"percentile":0.29432,"provenance":"source"},"cwes":[{"id":"CWE-424","name":"Improper Protection of Alternate Path"}],"references":[{"url":"https://github.com/hackmdio/codimd/issues/1910","tags":[]},{"url":"https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md","tags":[]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":5.89},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"hackmd","affectedVersions":[{"vendor":"HackMD","product":"CodiMD","versions":["< 2.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-29T13:47:30.446573Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-12480","exploited":false,"provenance":"source"}}