CVE & CISA-KEV Catalog

CVE-2024-45308

MEDIUM
6.5
CVSS v3
NVD

Description

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`.

How to fix

Remediation Available
hedgedocNVD
Affected:< 1.10.0Fixed in:1.10.0CVE-2024-45308derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityLow

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L

Exploit Intelligence

0.55%probability of exploitation in 30 days
44thpercentile

Moderate risk: more likely to be exploited than 44% of all known CVEs.

References

Exploit1

Related Vulnerabilities

Other CWE-1289 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-45179High7.22.6%--
CVE-2026-48710Medium6.51.9%-Fix
CVE-2026-47729Medium6.51.5%-Fix
CVE-2025-62718Critical9.91.2%-Fix
CVE-2026-33515Medium5.31.0%-Fix
CVE-2022-0675Medium5.60.9%-Fix

Common questions

How do I fix CVE-2024-45308?

Upgrade hedgedoc to 1.10.0 or later.

Is CVE-2024-45308 being actively exploited?

Not that we know of. CVE-2024-45308 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.55% is the estimated probability that it will be exploited in the next 30 days. That is higher than 44% of all scored CVEs.

How severe is CVE-2024-45308?

CVE-2024-45308 has a CVSS v3 base score of 6.5, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2024-45308 affect?

Published advisories record a fix for hedgedoc (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2024-45308
CVE-2024-45308 severity badge

Markdown

[![CVE-2024-45308](https://tridentstack.com/cve/badge/CVE-2024-45308.svg)](https://tridentstack.com/cve/CVE-2024-45308)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-45308"><img src="https://tridentstack.com/cve/badge/CVE-2024-45308.svg" alt="CVE-2024-45308"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-09-22.