{"api_version":"1","generated_at":"2026-07-14T13:26:13+00:00","cve":"CVE-2022-24837","urls":{"html":"https://cve.report/CVE-2022-24837","api":"https://cve.report/api/cve/CVE-2022-24837.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-24837","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-24837"},"summary":{"title":"CVE-2022-24837","description":"HedgeDoc is an open-source, web-based, self-hosted, collaborative markdown editor. Images uploaded with HedgeDoc version 1.9.1 and later have an enumerable filename after the upload, resulting in potential information leakage of uploaded documents. This is especially relevant for private notes and affects all upload backends, except Lutim and imgur. This issue is patched in version 1.9.3 by replacing the filename generation with UUIDv4. If you cannot upgrade to HedgeDoc 1.9.3, it is possible to block POST requests to `/uploadimage`, which will disable future uploads.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-04-11 21:15:00","updated_at":"2022-04-19 15:30:00"},"problem_types":["CWE-434"],"metrics":[],"references":[{"url":"https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-q6vv-2q26-j7rx","name":"https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-q6vv-2q26-j7rx","refsource":"CONFIRM","tags":[],"title":"Enumerable upload file names · Advisory · hedgedoc/hedgedoc · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/node-formidable/formidable/issues/808","name":"https://github.com/node-formidable/formidable/issues/808","refsource":"MISC","tags":[],"title":"uniq filenames · Issue #808 · node-formidable/formidable · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/hedgedoc/hedgedoc/commit/9e2f9e21e904c4a319e84265da7ef03b0a8e343a","name":"https://github.com/hedgedoc/hedgedoc/commit/9e2f9e21e904c4a319e84265da7ef03b0a8e343a","refsource":"MISC","tags":[],"title":"fix(imageRouter): Fix enumerable image upload issue · hedgedoc/hedgedoc@9e2f9e2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24837","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24837","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"24837","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"hedgedoc","cpe5":"hedgedoc","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-24837","STATE":"PUBLIC","TITLE":"Enumerable upload file names in hedgedoc"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"hedgedoc","version":{"version_data":[{"version_value":">=1.9.1, < 1.9.3"}]}}]},"vendor_name":"hedgedoc"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"HedgeDoc is an open-source, web-based, self-hosted, collaborative markdown editor. Images uploaded with HedgeDoc version 1.9.1 and later have an enumerable filename after the upload, resulting in potential information leakage of uploaded documents. This is especially relevant for private notes and affects all upload backends, except Lutim and imgur. This issue is patched in version 1.9.3 by replacing the filename generation with UUIDv4. If you cannot upgrade to HedgeDoc 1.9.3, it is possible to block POST requests to `/uploadimage`, which will disable future uploads."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"}]}]},"references":{"reference_data":[{"name":"https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-q6vv-2q26-j7rx","refsource":"CONFIRM","url":"https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-q6vv-2q26-j7rx"},{"name":"https://github.com/node-formidable/formidable/issues/808","refsource":"MISC","url":"https://github.com/node-formidable/formidable/issues/808"},{"name":"https://github.com/hedgedoc/hedgedoc/commit/9e2f9e21e904c4a319e84265da7ef03b0a8e343a","refsource":"MISC","url":"https://github.com/hedgedoc/hedgedoc/commit/9e2f9e21e904c4a319e84265da7ef03b0a8e343a"}]},"source":{"advisory":"GHSA-q6vv-2q26-j7rx","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-04-11 21:15:00","lastModifiedDate":"2022-04-19 15:30:00","problem_types":["CWE-434"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:hedgedoc:hedgedoc:*:*:*:*:*:*:*:*","versionStartIncluding":"1.9.1","versionEndExcluding":"1.9.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"24837","Ordinal":"228302","Title":"CVE-2022-24837","CVE":"CVE-2022-24837","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"24837","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}