{"id":"CVE-2025-46655","aliases":["EUVD-2025-12479","GHSA-64gv-p96g-gqxj"],"status":"disputed","title":"CodiMD through 2.5.4 has a CSP-based protection mechanism against XSS through uploaded SVG...","description":"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.","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-10","score":0.0025,"percentile":0.16507,"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:31:14Z","products":[{"vendor":"hackmd","product":"codimd"}],"references":[{"url":"https://github.com/hackmdio/codimd/issues/1910","tags":["exploit","report"]},{"url":"https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46655","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-64gv-p96g-gqxj"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46655.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-46655","description":"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.","status":"disputed","published":"2025-04-26T00:00:00Z","modified":"2025-04-29T15:22:43.429Z","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-12479","description":"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.","status":"published","published":"2025-04-26T00:00:00Z","modified":"2025-04-29T15:22:43Z","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-64gv-p96g-gqxj","title":"CodiMD through 2.5.4 has a CSP-based protection mechanism against XSS through uploaded SVG...","description":"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.","status":"published","published":"2025-04-26T21:31:26Z","modified":"2025-04-26T21:31:32Z","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-46655","description":"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.","status":"disputed","published":"2025-04-26T21:15:15.26Z","modified":"2026-06-17T09:26:46.997Z","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-46655","description":"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.","status":"published","published":"2025-04-26T00:00:00Z","modified":"2026-10-28T02:31:14.936208452Z","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"}]}}
