MEDIUM6.5
GHSA-rwcp-qrwg-56cg
Casdoor Cross-Site Request Forgery vulnerability
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/casdoor/casdoor
Introduced in:
0No fixed version published yet for github.com/casdoor/casdoor (go modules). Pin to a known-safe version or switch to an alternative.
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/casdoor/casdoor"]}'