{"id":"CVE-2023-34927","aliases":["EUVD-2023-1883","GHSA-rwcp-qrwg-56cg"],"status":"published","title":"Casdoor Cross-Site Request Forgery vulnerability","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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.03067,"percentile":0.87802,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-352"],"published":"2023-06-22T00:00:00Z","modified":"2026-10-28T02:30:21Z","exploits":[{"source":"exploitdb","id":"EDB-51961","title":"Casdoor \u003c v1.331.0 - '/api/set-password' CSRF","type":"webapps","platform":"go","date":"2024-04-02","url":"https://www.exploit-db.com/exploits/51961"},{"source":"exploitdb","id":"EDB-52432","title":"Casdoor 2.55.0 - Cross-Site Request Forgery (CSRF)","type":"webapps","platform":"multiple","date":"2025-09-16","url":"https://www.exploit-db.com/exploits/52432"},{"source":"exploitdb","id":"EDB-52439","title":"Casdoor 2.95.0 - Cross-Site Request Forgery (CSRF)","type":"webapps","platform":"multiple","date":"2025-10-29","url":"https://www.exploit-db.com/exploits/52439"}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/casdoor/casdoor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.331.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/casdoor/casdoor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.331.0"}]}]}],"products":[{"vendor":"casbin","product":"casdoor"}],"references":[{"url":"https://github.com/casdoor/casdoor/issues/1531","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://casdoor.org/","tags":["x_transferred","Product","web"]},{"url":"https://gist.github.com/omriman067/4e90a3a4ffa40984f011d8777a995469","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34927","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-rwcp-qrwg-56cg"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34927.json","tags":["advisory"]},{"url":"https://casdoor.org","tags":["web"]},{"url":"https://github.com/casdoor/casdoor","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-34927","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.","status":"published","published":"2023-06-22T00:00:00Z","modified":"2024-12-04T21:40:56.754Z","updated_at":"2026-11-02T14:35:35.580545Z"}],"euvd":[{"id":"EUVD-2023-1883","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.","status":"published","published":"2023-06-22T00:00:00Z","modified":"2024-12-04T21:40:56Z","updated_at":"2026-11-03T00:04:40.496649Z"}],"ghsa":[{"id":"GHSA-rwcp-qrwg-56cg","title":"Casdoor Cross-Site Request Forgery vulnerability","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.","status":"published","published":"2023-06-22T15:30:23Z","modified":"2023-11-12T05:04:44Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:37:21.209096Z"}],"nvd":[{"id":"CVE-2023-34927","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.","status":"published","published":"2023-06-22T13:15:10.383Z","modified":"2026-06-17T06:04:06.96Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:08:12.414559Z"}],"osv":[{"id":"GHSA-rwcp-qrwg-56cg","title":"Casdoor Cross-Site Request Forgery vulnerability","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.","status":"published","published":"2023-06-22T15:30:23Z","modified":"2023-11-08T04:12:49.216612Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:56.281047Z"},{"id":"CVE-2023-34927","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.","status":"published","published":"2023-06-22T00:00:00Z","modified":"2026-10-28T02:30:21.283263217Z","updated_at":"2026-11-02T15:44:32.116263Z"}]}}
