Hi Julien,
I'm a long time (>7years) happy user of JHipster :D. Our dependabot now made us aware of CVE-2025–43712 ("privilige escalation"), but I cannot find any other information than those from the original author of this CVE.
As the original author claims, that JHipster rejected a fix, is there any official documentation available (i.e. if you consider this a bug or eventually why not)? I guess also a lot of other people are triggered via dependabot or user security checkers.
I'm writing to you, as you are listed as security contact for generator-jhipster.
My own analysis found out:
- I'm pretty sure, JHipster has proper backend validation of user access level on the admin endpoints. While I could reproduce, that I can make the Admin menu visible on the frontend by faking a backend response, I cannot list/create users without admin rights like claimed in the CVE
- I compared current version 8.9.0 (according to the CVE with a fix) towards 8.8.0, but couldn't find any explicit change and/or a fix in the evaluation of rights (neither in frontend nor backend code)
- I also wrote a comment in the medium article to contact the original author of the CVE. However he deleted my comments (duh :( )
We are still on JHipster 7.9.x, so if there is any fix that I might have overlooked, I'm happy to help with a backport, as only by the end of year we will finally have updated to JHipster 8.
I'm fine with users being able to see admin menus, as long as they are not functional.
Thanks a lot for your help.
Kind regards
Stefan