CVE-2025-46654
JSON

4.9medium

CodiMD through 2.2.0 has a CSP-based protection mechanism against XSS through uploaded JavaScript content, but it can be bypassed by upload…

Severity
4.9medium CVSS:3.1 by mitre
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
HackMD CodiMDbefore 2.2.1, up to 2.2.0CVE List, NVD

Classification

CWE-424

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

CodiMD hasta la versión 2.2.0 tiene un mecanismo de protección basado en CSP contra XSS a través de contenido JavaScript cargado, pero se puede evitar cargando un archivo .html que haga referencia a un archivo .js cargado.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-46654 changed 2025-04-29CVE Terms of Use
NVDCVE-2025-46654 changed 2026-06-17Public domain