CVE-2023-34927: Casdoor < v1.331.0 - '/api/set-password' CSRF

Published Jun 22, 2023
·
Updated

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.

Other sources

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.

Credit

Van Lam Nguyen

Affected Software

2 affected components
go/github.com/casdoor/casdoor<=1.331.0
Casbin Casdoor<=1.331.0

Event History

Jun 22, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
03:30 PM
Apr 2, 2024
Exploit Published
via ExploitDB·12:00 AM
Known Exploited
via ExploitDB·12:00 AM
Sep 16, 2025
Exploit Published
12:00 AM
Oct 29, 2025
Exploit Published
12:00 AM

Frequently Asked Questions

1

What is the severity of CVE-2023-34927?

CVE-2023-34927 is classified as a high severity vulnerability due to the potential for attackers to change user passwords without their consent.

2

How do I fix CVE-2023-34927?

To mitigate CVE-2023-34927, upgrade Casdoor to version 1.332.0 or later where this vulnerability is addressed.

3

What type of attack does CVE-2023-34927 enable?

CVE-2023-34927 enables Cross-Site Request Forgery (CSRF) attacks, allowing attackers to change victim users' passwords.

4

Which versions of Casdoor are affected by CVE-2023-34927?

CVE-2023-34927 affects Casdoor versions 1.331.0 and earlier.

5

What is the vulnerable endpoint in CVE-2023-34927?

The vulnerable endpoint in CVE-2023-34927 is /api/set-password.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203