CVE-2025-46655
4.9
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| HackMD | CodiMD | 0 <= 2.5.4 | affected |
Weaknesses
- CWE-424: CWE-424 Improper Protection of Alternate Path
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
Additional References
References
- https://github.com/hackmdio/codimd/issues/1910
- https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.