Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft forged OAuth2 callback link
-
ExploitLure victim into clicking link
-
ExecutionComplete OAuth flow lacking state check
-
ImpactForce account binding / session takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2021 - Broken Access Control
ASVS 5.0
V4 - Access Control Authorization enforcement, RBAC validation
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target HedgeDoc instance (prior to 1.10.4) to have an affected OAuth2 social-login provider enabled - specifically Google, GitHub, GitLab, Facebook, or Dropbox - since the flaw is the missing state-parameter CSRF protection on those endpoints. It additionally requires victim interaction (CVSS UI:R): the victim must follow an attacker-supplied link or visit an attacker-controlled page to trigger the forged OAuth2 callback. Limiting factors: instances that do not use these social login providers are not affected, the attack cannot run fully automatically against a server (a human victim must act), and the impact is bounded to integrity (I:L) with no direct data disclosure or service disruption. |
| Impact | This is a genuine but low-to-moderate priority issue, and the available signals are consistent with that reading. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N, base 4.3) describes a network-reachable, unauthenticated, low-complexity attack that nonetheless requires victim interaction and yields only a low integrity impact with no confidentiality or availability loss - a profile typical of login CSRF (CWE-352). EPSS is very low at 0.02% (5th percentile), the CVE is NOT on CISA KEV, and no public exploit was identified in the provided data, so there is no evidence of active exploitation. All signals agree: moderate CVSS, negligible exploitation probability, no KEV, no POC. The main caveat is that impact depends on how the OAuth2/social login is used in a given deployment; the CVSS I:L rating likely reflects session/account-binding manipulation rather than data theft. No conflicting signals were found in the input. This should be patched on a normal maintenance cadence rather than treated as an emergency. |
| Exploit ScenarioDerived | An attacker crafts a malicious page or link containing a forged OAuth2 callback for a HedgeDoc instance configured with a social login provider (e.g., Google, GitHub, GitLab). When an authenticated or in-the-middle-of-login victim is lured into clicking it, the absence of a verified state parameter lets the attacker complete the OAuth flow in the victim's browser, enabling login CSRF - for example binding the victim's session to an attacker-controlled identity or forcing an unintended account linkage. No public exploit was identified at time of analysis, and success depends on the required user interaction (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 15, 2026
HedgeDoc versions prior to 1.10.4 lack CSRF protection in OAuth2 social login endpoints (Google, GitHub, GitLab, Facebook, Dropbox) because they omit the state parameter, allowing a remote, unauthenticated attacker to trick a victim into linking the attacker's social account or logging into an attacker-controlled account. This results in limited integrity impact (I:L) and requires victim interaction (UI:R); instances that do not use these social login providers are unaffected. No public exploit code has been identified, and the EPSS score is very low (0.02%), consistent with a low-to-moderate priority issue. The vulnerability is fixed in version 1.10.4.
Earlier versions of this analysis (1)
RemediationAI
Upgrade to HedgeDoc 1.10.4, which is the vendor-released patch that fixes the missing state parameter and adds PKCE support. For detailed instructions, refer to the GitHub Security Advisory GHSA-6wm6-3vpq-6qvv. If an immediate upgrade is not feasible, disable the affected OAuth2 social login providers (Google, GitHub, GitLab, Facebook, Dropbox) in the HedgeDoc configuration as a temporary compensating control; however, this will prevent users from logging in via those providers and may impact usability. Additionally, monitor for suspicious account linking or login activities that could indicate exploitation attempts. The patch commit 35f36fccba941ed8029ee222f7d2a5df17b42e2b provides the code changes for reference.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a Cross-Site Request Forgery (CSRF) vulnerability (CWE-352) in HedgeDoc's OAuth2 social login integration. OAuth2 uses the state parameter to bind an authorization request to the user's session, preventing attackers from forging authorization responses. HedgeDoc versions before 1.10.4 omitted this parameter for providers such as Google, GitHub, GitLab, Facebook, and Dropbox, enabling an attacker to craft a malicious link that, when visited by a victim, could trigger an unauthorized OAuth2 callback. The fix, as shown in the commit diff, adds an oauth2 configuration block with pkce: true and likely implements state parameter validation, thereby mitigating CSRF. The CPE cpe:2.3:a:hedgedoc:hedgedoc:*:*:*:*:*:*:*:* confirms that all versions prior to 1.10.4 are affected.
Know when Hedgedoc gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Network CSRF needs no attacker privileges (PR:N) but depends on the victim following a link (UI:R); impact is login/account-binding integrity only (I:L), with no confidentiality or availability effect.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
HedgeDoc is an open source, real-time, collaborative, markdown notes application. Prior to 1.10.4, some of HedgeDoc's OAuth2 endpoints for social login providers such as Google, GitHub, GitLab, Facebook or Dropbox lack CSRF protection, since they don't send a state parameter and verify the response using this parameter. This vulnerability is fixed in 1.10.4.
Executive ViewAI
CVE-2025-66629 is a low-severity vulnerability in HedgeDoc involving CSRF (CVSS 3.7). The limited severity suggests constrained impact, typically requiring specific conditions or local access for exploitation. A patch is available and can be applied during standard maintenance windows.
Apply vendor patch during routine maintenance. Standard CSRF mitigations apply if patching is delayed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
HedgeDoc is a collaborative platform for writing and sharing markdown. Rated high severity (CVSS 8.7), this vulnerabilit
HedgeDoc is software for creating real-time collaborative markdown notes. Rated high severity (CVSS 8.2), this vulnerabi
HedgeDoc is an open source, real-time, collaborative, markdown notes application. Rated medium severity (CVSS 6.5), this
HedgeDoc is open source software which lets you create real-time collaborative markdown notes. Rated medium severity (CV
HedgeDoc (formerly known as CodiMD) is an open-source collaborative markdown editor. Rated critical severity (CVSS 10.0)
HedgeDoc (formerly known as CodiMD) is an open-source collaborative markdown editor. Rated medium severity (CVSS 5.8), t
Denial of service in HedgeDoc before 1.11.0 lets a user who can store a note crash the instance by embedding a YAML "ali
HedgeDoc is a collaborative platform for writing and sharing markdown. Rated high severity (CVSS 7.5), this vulnerabilit
Rate-limiting bypass in HedgeDoc prior to 1.11.0 permits unauthenticated remote attackers to circumvent brute-force prot
HedgeDoc's GitHub Gist export feature exposes private and protected note content to attacker-controlled GitHub accounts
HedgeDoc is an open source, real-time, collaborative, markdown notes application. Rated medium severity (CVSS 6.4), this
HedgeDoc is a platform to write and share markdown. Rated medium severity (CVSS 6.1), this vulnerability is remotely exp
EUVD-2025-201504
NVD
CVE.org
EPSS
GitHub
Exploit-DB