CVE-2025-46654

medium

Description

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.

References

https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md

https://github.com/hackmdio/codimd/issues/1910

Details

Source: Mitre, NVD

Published: 2025-04-26

Updated: 2025-04-26

Risk Information

CVSS v2

Base Score: 3.6

Vector: CVSS2#AV:N/AC:H/Au:S/C:P/I:P/A:N

Severity: Low

CVSS v3

Base Score: 4.9

Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

Severity: Medium

EPSS

EPSS: 0.00027