{"id":"CVE-2025-66629","summary":"HedgeDoc is missing state parameter in OAuth2 flows could lead to CSRF","details":"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.","aliases":["GHSA-6wm6-3vpq-6qvv"],"modified":"2026-08-12T03:51:34.799360379Z","published":"2025-12-05T22:47:44.994Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-352"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66629.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66629.json"},{"type":"ADVISORY","url":"https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-6wm6-3vpq-6qvv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66629"},{"type":"FIX","url":"https://github.com/hedgedoc/hedgedoc/commit/35f36fccba941ed8029ee222f7d2a5df17b42e2b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hedgedoc/hedgedoc","events":[{"introduced":"0"},{"fixed":"0a5f4ccefd3c2b5826552d10f32778e657d0f3b8"},{"fixed":"35f36fccba941ed8029ee222f7d2a5df17b42e2b"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.10.4"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:hedgedoc:hedgedoc:*:*:*:*:*:*:*:*"}}],"versions":["1.10.2","1.10.1","1.10.0","1.9.9","1.9.8","1.9.7","1.9.6","1.9.5","1.9.4","1.9.3","1.9.2","1.9.1","1.9.0","1.9.0-rc1","1.8.2","1.8.1","1.8.0","1.8.0-rc1","1.7.2","1.7.1","1.7.0","1.7.0-rc2","1.7.0-rc1","1.6.0","1.5.0","1.4.0","1.3.2","1.3.1","1.3.0","1.2.1","1.2.0","1.1.1-ce","1.1.0-ce","1.0.1-ce","1.0.0-ce","0.5.0","0.4.6","0.4.5","0.4.4","0.4.3","0.4.2","0.4.1","0.4.0","v0.3.4","v0.3.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66629.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N"}]}