{"id":"CVE-2025-46654","aliases":["CVE-2025-46654"],"related":[],"kind":"vulnerability","state":"published","title":"CodiMD through 2.2.0 has a CSP-based protection mechanism against XSS through uploaded JavaScript content, but it can be bypassed by upload…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-04-26T00:00:00.000Z","modified":"2026-06-17T09:26:46.870Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-424"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.2.1","status":"affected"}],"vendor":"HackMD","product":"CodiMD","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.2.0"}],"vendor":"hackmd","product":"codimd","cpe":"cpe:2.3:a:hackmd:codimd:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/hackmdio/codimd/issues/1910","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-29T13:47:30.446Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-46654","url":"https://www.cve.org/CVERecord?id=CVE-2025-46654","licence":"CVE Terms of Use","modified":"2025-04-29T15:22:49.333Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-46654","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46654","licence":"Public domain","modified":"2026-06-17T09:26:46.870Z"}],"updatedAt":"2026-11-25T22:58:56.943Z","epss":{"score":0.00268,"percentile":0.20225,"date":"2026-12-01T12:00:22.000Z"}}