CVE-2023-34927
Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-password.
Does this matter?
3 public exploits are published in Exploit-DB, so the technical barrier is gone even though the severity is medium and EPSS is 3.1%. Treat it as high on anything reachable from the internet.
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.
- CVSS 3.1
- 6.5 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- EPSS
- 3.07% probability · 88th percentile
- Public exploits
- 3 in Exploit-DB · first 2 April 2024
- CISA KEV
- Not listed
- Weakness
- CWE-352: Cross-site request forgery
- Affected
- casbin/casdoor
- Source
- cve@mitre.org
In plain terms
It can be reached over a network with no login, but it needs a person to act, so it usually arrives by email or through a web page.
- Reached from
- Over a network. If the affected system can be reached from the internet, so can the flaw.
- Effort
- Nothing outside the attacker's control has to line up, so an attack can be repeated reliably.
- Login needed
- None. No login is needed.
- Someone else involved
- Yes. Someone has to do something, such as open a file or follow a link.
- At risk
- Reading data: none. Changing data: serious. Stopping the service: none.
Read from the CVSS 3.1 vector above. It describes the flaw itself, not how your own systems are set up.
The first public exploit in Exploit-DB is dated 2 April 2024, about 9 months after the record was published.
EPSS 3.1% since 5 December 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (3)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
| EDB-ID | Title | Type | Published | Verified |
|---|---|---|---|---|
| EDB-52439source ↗ | Casdoor 2.95.0 - '/api/set-password' Cross-Site Request Forgery (CSRF)multiple · Van Lam Nguyen | webapps | 29 October 2025 | no |
| EDB-52432source ↗ | Casdoor 2.55.0 - '/api/set-password' Cross-Site Request Forgery (CSRF)multiple · Van Lam Nguyen | webapps | 16 September 2025 | no |
| EDB-51961source ↗ | Casdoor <= 1.331.0 - '/api/set-password' Cross-Site Request Forgery (CSRF)go · Van Lam Nguyen | webapps | 2 April 2024 | no |
The same product
This is the only record we hold for casbin/casdoor. Follow this product to hear of the next one.
Where to go from here
One vulnerability is rarely the whole question. These are free, and none of them asks for an account.
By email
Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.
References
- https://casdoor.org/Product
- https://gist.github.com/omriman067/4e90a3a4ffa40984f011d8777a995469Third Party Advisory
- https://github.com/casdoor/casdoor/issues/1531Exploit, Issue Tracking, Third Party Advisory
- https://casdoor.org/Product
- https://gist.github.com/omriman067/4e90a3a4ffa40984f011d8777a995469Third Party Advisory
- https://github.com/casdoor/casdoor/issues/1531Exploit, Issue Tracking, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.