CVE-2025-43712 Privilege escalation in JHipster
Attackers can escalate privileges to admin by manipulating the authorities parameter in generated JHipster applications, bypassing access controls.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-43712?
CVE-2025-43712 is a low-severity vulnerability in JHipster, published on 25 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
JHipster before v.8.9.0 allows privilege escalation via a modified authorities parameter. Upon registering in the JHipster portal and logging in as a standard user, the authorities parameter in the response from the api/account endpoint contains the value ROLE_USER. By manipulating the authorities parameter and changing its value to ROLE_ADMIN, the privilege is successfully escalated to an Admin level. This allowed the access to all admin-related functionalities in the application. NOTE: this is disputed by the Supplier because there is no privilege escalation in the context of the JHipster backend (the report only demonstrates that, after using JHipster to generate an application, one can make a non-functional admin screen visible in the front end of that application).
Which versions are affected by CVE-2025-43712?
How do I fix CVE-2025-43712?
No fix has been published for CVE-2025-43712 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-43712 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-43712 exists.