CVE-2025-43712: Withdrawn Advisory JHipster Allows Privilege Escalation Vulnerability
LOWCVE-2025-43712 is a LOW (CVSS 2.9) jhipster allows privilege escalation vulnerability (CWE-284: Improper Access Control) affecting Withdrawn Advisory libraries in the npm ecosystem. The issue involves jhipster allows privilege escalation via a modified authorities parameter. Remediation is available by upgrading affected packages to version 8.9.0.
CVE-2025-43712 at a Glance
Security Impact
CVSS: 2.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2025-43712
To remediate this vulnerability, upgrade all affected Withdrawn Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install generator-jhipster@8.9.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls generator-jhipster
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-43712, inspect your project dependencies using npm:
npm ls generator-jhipster
Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.9.0), your application is affected.
Note: The npm ls generator-jhipster command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Withdrawn Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-43712 Affected Withdrawn Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
generator-jhipster
|
npm |
< 8.9.0
|
8.9.0
|
References
Frequently Asked Questions
What is CVE-2025-43712?
Which Withdrawn Advisory versions are affected?
What version fixes CVE-2025-43712?
Is generator-jhipster affected?
What is the CVSS score of CVE-2025-43712?
What CWE is associated with CVE-2025-43712?
How can I check npm dependencies for CVE-2025-43712?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cmm8-gw4m-26cw",
"modified" : "2025-08-04T20:26:16Z",
"published" : "2025-07-25T15:30:53Z",
"withdrawn" : "2025-08-04T20:26:16Z",
"aliases" : [ "CVE-2025-43712" ],
"summary" : "Withdrawn Advisory: JHipster allows privilege escalation via a modified authorities parameter",
"details" : "## Withdrawn Advisory\nThis advisory has been withdrawn because the original report was found to be invalid. This link is maintained to preserve external references. For more information, see https://groups.google.com/g/jhipster-dev/c/ATSlWkEjw2w.\n\n## Original Description\n\nJHipster 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "generator-jhipster"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.9.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-43712"
}, {
"type" : "WEB",
"url" : "https://firecompass.com/cve-2025-43712-jhipster-platform-privilege-escalation-vulnerability-discovered-by-firecompass-research-added-to-nist"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jhipster/generator-jhipster"
}, {
"type" : "WEB",
"url" : "https://github.com/jhipster/generator-jhipster/releases"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/jhipster-dev/c/ATSlWkEjw2w"
}, {
"type" : "WEB",
"url" : "https://medium.com/@hritikgodara/cve-2025-43712-privilege-escalation-via-response-manipulation-in-the-jhipster-platform-5e18c0434def"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284", "CWE-451" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-25T17:19:20Z",
"nvd_published_at" : "2025-07-25T13:15:29Z"
}
}