CVE-2025-66629: HedgeDoc is missing state parameter in OAuth2 flows could lead to CSRF

Published Dec 5, 2025
·
Updated

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

2 affected components
npm/hedgedoc<1.10.4
HedgeDoc HedgeDoc<1.10.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade HedgeDoc to a version that resolves this vulnerability.

    Fixed in 1.10.4

Event History

Dec 5, 2025
CVE Published
via MITRE·10:47 PM
Data Sourced
via MITRE·10:47 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

Which versions of HedgeDoc are affected by CVE-2025-66629?

HedgeDoc versions prior to 1.10.4 are affected by CVE-2025-66629.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203