Cross-site request forgery in HedgeDoc - CVE-2025-66629
Published: April 25, 2026
HedgeDoc
Detailed vulnerability description
The vulnerability allows a remote user to disclose sensitive information and modify data by causing a victim to be logged into the attacker's account.
The vulnerability exists due to cross-site request forgery in OAuth2 callback endpoints when handling OAuth2 social login responses without a state parameter. A remote user can trick the victim into opening a crafted callback URL to disclose sensitive information and modify data by causing a victim to be logged into the attacker's account.
Only instances with an enabled affected social login provider are vulnerable, and user interaction is required to open the crafted URL.