Skip to content
OpenAdvisories
Medium · 4.9 CVE-2025-46655 EUVD-2025-12479GHSA-64gv-p96g-gqxj

CodiMD through 2.5.4 has a CSP-based protection mechanism against XSS through uploaded SVG documents containing JavaScript, but it can be b…

Published Apr 26, 2025 · Updated Apr 29, 2025 · Assigned by mitre

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.

Affected products

VendorProductAffectedFixed
HackMD CodiMD ≤ 2.5.4 —

References