Description
Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-password. This vulnerability allows attackers to arbitrarily change the victim user's password via supplying a crafted URL.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 3
- Casdoor 2.95.0 - Cross-Site Request Forgery (CSRF) EDB-52439 · webapps · Oct 29, 2025
- Casdoor 2.55.0 - Cross-Site Request Forgery (CSRF) EDB-52432 · webapps · Sep 16, 2025
- Casdoor < v1.331.0 - '/api/set-password' CSRF EDB-51961 · webapps · Apr 2, 2024
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/casdoor/casdoor | <= 1.331.0 | — | GHSA-rwcp-qrwg-56cg |