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

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2025-12-05T22:47:44.994Z
- Modified: 2026-10-15T21:10:00.327Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- hedgedoc hedgedoc: < 1.10.4; before 1.10.4

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-6wm6-3vpq-6qvv> (patch, vendor-advisory)
- <https://github.com/hedgedoc/hedgedoc/commit/35f36fccba941ed8029ee222f7d2a5df17b42e2b> (patch)

## Sources

- CVE List: [CVE-2025-66629](https://www.cve.org/CVERecord?id=CVE-2025-66629), CVE Terms of Use, modified 2025-12-08
- NVD: [CVE-2025-66629](https://nvd.nist.gov/vuln/detail/CVE-2025-66629), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-66629 · Whole record: https://cve.day/CVE-2025-66629.json · Rebuilt by cve.day 2026-11-25T22:59:08.356Z
