Live threats

All CVEs / Hackmd

CVE-2024-38353Hackmd Codimd

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
Jul 10, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-338, CWE-862
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

CodiMD allows realtime collaborative markdown notes on all platforms. CodiMD before 2.5.4 is missing authentication and access control vulnerability allowing an unauthenticated attacker to gain unauthorised access to image data uploaded to CodiMD. CodiMD does not require valid authentication to access uploaded images or to upload new image data. An attacker who can determine an uploaded image's URL can gain unauthorised access to uploaded image data. Due to the insecure random filename generation in the underlying Formidable library, an attacker can determine the filenames for previously uploaded images and the likelihood of this issue being exploited is increased. This vulnerability is fixed in 2.5.4.

Original NVD text.

What to do

  1. Apply the vendor's security update for Codimd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
hackmdcodimd< 2.5.4

Official sources

References

Links published by the sources. Open them with care.

  • github.com Exploit Mitigation Third Party Advisory