Home / hedgedoc / hedgedoc / CVE-2024-45308
CVE-2024-45308: is it exploited, and which versions of hedgedoc are affected and fixed?
CVE-2024-45308 is an improper Validation of Unsafe Equivalence in Input vulnerability in hedgedoc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: hedgedoc < 1.10.0 (CVE record by GitHub_M). Fixed in 1.10.0 (NVD). Severity: Medium (6.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:27 UTC.
What is CVE-2024-45308?
MySQL & free URL mode allows to hide existing notes in hedgedoc
HedgeDoc is an open source, real-time, collaborative, markdown notes application. When using HedgeDoc 1 with MySQL or MariaDB, it is possible to create notes with an alias matching the ID of existing notes. The affected existing note can then not be accessed anymore and is effectively hidden by the new one. When the freeURL feature is enabled (by setting the `allowFreeURL` config option or the `CMD_ALLOW_FREEURL` environment variable to `true`), any user with the appropriate permissions can create a note with an arbitrary alias, e.g. by accessing it in the browser. When MySQL or MariaDB are used, it is possible to create a new note with an alias that matches the lower-cased ID of a different note. HedgeDoc then always presents the new note to users, as these databases perform case-insensitive matching and the lower-cased alias is found first. This issue only affects HedgeDoc instances that use MySQL or MariaDB. Depending on the permission settings of the HedgeDoc instance, the issue can be exploited only by logged-in users or by all (including non-logged-in) users. The exploit requires knowledge of the ID of the target note. Attackers could use this issue to present a manipulated copy of the original note to the user, e.g. by replacing the links with malicious ones. Attackers can also use this issue to prevent access to the original note, causing a denial of service. No data is lost, as the original content of the affected notes is still present in the database. Users are advised to upgrade to version 1.10.0 which addresses this issue. Users unable to upgrade may disable freeURL mode which prevents the exploitation of this issue. The impact can also be limited by restricting freeURL note creation to trusted, logged-in users by enabling `requireFreeURLAuthentication`/`CMD_REQUIRE_FREEURL_AUTHENTICATION`.
From the CVE record by GitHub_M, last updated September 3, 2024, 14:06 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| hedgedoc | hedgedoc | < 1.10.0 |
As the CVE record by GitHub_M states it, last updated September 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| hedgedoc | hedgedoc | before 1.10.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:53 UTC.
How severe is CVE-2024-45308?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L | GitHub_M |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-45308 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, September 3, 2024)
- EPSS
- 0.55% probability of exploitation activity in the next 30 days, percentile 47.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-1289 Improper Validation of Unsafe Equivalence in Input
Where are the vendor advisories and references?
- https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-pjf2-269h-cx7p x_refsource_CONFIRM
- https://github.com/hedgedoc/hedgedoc/commit/380587b7fd65bc1eb71eef51a3aab324f9877650 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 26, 2024
- Published
- September 2, 2024, 16:40 UTC
- CVE record updated
- September 3, 2024, 14:06 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:53 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:27 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect hedgedoc?
- Nov 22, 2026CVE-2026-134794 HedgeDoc: prototype pollution
- Nov 5, 2026CVE-2026-102927 hedgedoc: improper input validation
- Jul 13, 2026CVE-2026-58489 hedgedoc: cross-site request forgery (CSRF)
- Jul 13, 2026CVE-2026-58486 hedgedoc: denial of service (uncontrolled resource consumption)
- Jul 13, 2026CVE-2026-58487 hedgedoc: cross-site scripting (XSS)
- Jul 13, 2026CVE-2026-58488 hedgedoc: authentication bypass by spoofing
- Feb 6, 2026CVE-2026-25642 hedgedoc: cross-site scripting (XSS)
- Dec 5, 2025CVE-2025-66629 hedgedoc: cross-site request forgery (CSRF)
Questions about CVE-2024-45308
Is CVE-2024-45308 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.55% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of hedgedoc are affected by CVE-2024-45308?
hedgedoc < 1.10.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2024-45308?
1.10.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-45308?
Medium (6.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-45308?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.