Read the docs
TI-2024-25611 Aliases CVE-2024-38353

CodiMD - Missing Image Access Controls and Unauthorized Image Access

Priority MEDIUM 63CWE-338Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-862.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01149 67th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed codimd (hackmdio): 2.5.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
hackmdiocodimdbefore 2.5.42.5.4Patch availableCNA
  • codimd Vendorhackmdio Affected before 2.5.4 Fixed in 2.5.4 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:hackmd:codimd:*:*:*:*:*:*:*:*before 2.5.4VulnerableHackMD
  • cpe:2.3:a:hackmd:codimd:*:*:*:*:*:*:*:* Versions before 2.5.4 Vulnerable ·HackMD

Remediation

  • Fix · CNA codimd (hackmdio) Fixed in 2.5.4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-38353

References

  • TI-2024-25612 Cross-site Scripting in Hackmd.io Notes lead by HTML Injection CVSS 3.1HIGH 8.1
  • TI-2025-29349 CodiMD through 2.2.0 has a CSP-based protection mechanism against XSS through uploaded… CVSS 3.1MEDIUM 4.9
  • TI-2024-15132 HackMD CodiMD <2.5.2 is vulnerable to Denial of Service. CVSS 3.1HIGH 7.5
  • TI-2019-11602 CodiMD 1.3.1, when Safari is used, allows XSS via an IFRAME element with… CVSS 3.1MEDIUM 6.1

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences