{"id":"CVE-2025-46655","published":"2025-04-26T00:00:00Z","modified":"2025-04-29T15:22:43Z","title":"CodiMD through 2.5.4 has a CSP-based protection mechanism against XSS through uploaded SVG documents containing…","vendor":"HackMD","product":"CodiMD","tier":"tail","description":{"text":"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.","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.00255,"percentile":0.17455,"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":6.9,"factors":[{"name":"EPSS percentile","points":3.49},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"hackmd","affectedVersions":[{"vendor":"HackMD","product":"CodiMD","versions":["<= 2.5.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-29T14:05:51.667886Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-12479","exploited":false,"provenance":"source"}}