CVE-2025-66629: HedgeDoc is missing state parameter in OAuth2 flows could lead to CSRF
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
HedgeDocto a version that resolves this vulnerability.Fixed in 1.10.4
Event History
Frequently Asked Questions
What is the severity of CVE-2025-66629?
CVE-2025-66629 is classified as a high severity vulnerability due to the lack of CSRF protection for OAuth2 endpoints.
How do I fix CVE-2025-66629?
To fix CVE-2025-66629, upgrade HedgeDoc to version 1.10.4 or later that includes CSRF protection for OAuth2 endpoints.
What impact does CVE-2025-66629 have on user data?
CVE-2025-66629 could allow attackers to perform unauthorized actions on behalf of users, potentially compromising sensitive data.
Which versions of HedgeDoc are affected by CVE-2025-66629?
HedgeDoc versions prior to 1.10.4 are affected by CVE-2025-66629.
What are the recommended actions to mitigate CVE-2025-66629?
In addition to upgrading to a patched version, review application configurations and ensure proper security measures are implemented.