Skip to content
Heist/ feed
Back to feed
Medium

CodiMD - Missing Image Access Controls and Unauthorized Image Access

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-38353
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 22:07 UTC · Revision 1

Source evidence

CodiMD - Missing Image Access Controls and Unauthorized Image Access

core-osv · Original source

Published 10 Jul 2024, 19:50 UTC

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.

osv:CVE-2024-38353
Complete source record
{
  "id": "c78a20503c6eaba67a1ab3d2764ea11db1f346f64e2f334d68ef116acc3804a5",
  "url": "https://osv.dev/vulnerability/CVE-2024-38353",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CodiMD - Missing Image Access Controls and Unauthorized Image Access",
    "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.",
    "evidence": "osv:CVE-2024-38353",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-38353",
      "aliases": [
        "CVE-2024-38353",
        "GHSA-2764-jppc-p2hm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hackmdio/codimd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "da511d0b1661e1f496e700bda35dc2b127dd456e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:hackmd:codimd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.5.3",
            "2.5.2",
            "2.5.1",
            "2.5.0",
            "2.4.2",
            "2.4.1",
            "2.4.0",
            "2.3.2",
            "2.3.1",
            "2.3.0",
            "2.2.0",
            "2.1.0",
            "2.0.1",
            "2.0.0",
            "1.4.1",
            "1.4.0",
            "1.3.1",
            "1.3.0",
            "1.2.1",
            "1.2.0",
            "1.1.1-ce",
            "1.1.0-ce",
            "1.0.1-ce",
            "1.0.0-ce",
            "0.5.0",
            "0.4.6",
            "0.4.5",
            "0.4.4",
            "0.4.3",
            "0.4.2",
            "0.4.1",
            "0.4.0",
            "v0.3.4",
            "v0.3.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38353.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.164803092Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38353.json",
        "https://github.com/hackmdio/codimd/security/advisories/GHSA-2764-jppc-p2hm",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-38353"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-338",
          "CWE-862"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38353.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-38353",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490460,
  "published_at": "2024-07-10T19:50:05.935+00:00"
}