CVE-2025-46654

Published Apr 26, 2025 CVSS 3.1 · 4.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-12480 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.
History
Type Values Removed Values Added
First Time appeared Hackmd
Hackmd codimd
CPEs cpe:2.3:a:hackmdio:codimd:*:*:*:*:*:*:*:* cpe:2.3:a:hackmd:codimd:*:*:*:*:*:*:*:*
Vendors & Products Hackmdio
Hackmdio codimd
Hackmd
Hackmd codimd
Type Values Removed Values Added
First Time appeared Hackmdio
Hackmdio codimd
CPEs cpe:2.3:a:hackmdio:codimd:*:*:*:*:*:*:*:*
Vendors & Products Hackmdio
Hackmdio codimd
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-424
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 29, 2025, 3:22 PM
Reserved
Apr 26, 2025, 12:00 AM
Status
Analyzed
Published
Apr 26, 2025, 9:15 PM
Modified
Jun 17, 2026, 9:26 AM