CVE-2025-43712

Low

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

SeverityLow
CVSS2.9
Exploit probability—
ProductGenerator-jhipster
PublishedJul 25, 2025
First seenJul 25, 2025
Weakness typeCWE-451CWE-451

How to fix

Update
  • generator-jhipster8.9.0 or later

Affected products

ProductAffected versionsFixed in
generator-jhipsternpmv < 8.9.08.9.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.