CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025

CVE-2025-46654
Hackmd Codimd vulnerability

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 products

Codimd. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Hackmd Codimd runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.