CVE-2019-16303Jhipster
Critical 9.8 No auth needed
Follow: this CVE · Jhipster · Jhipster We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.7% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Sep 14, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-338
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
A class generated by the Generator in JHipster before 6.3.0 and JHipster Kotlin through 1.1.0 produces code that uses an insecure source of randomness (apache.commons.lang3 RandomStringUtils). This allows an attacker (if able to obtain their own password reset URL) to compute the value for all other password resets for other accounts, thus allowing privilege escalation or account takeover.
What to do
- Apply the vendor's security update for Jhipster.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | generator-jhipster-kotlin |
< 1.2.0 |
1.2.0 |
npm install generator-jhipster-kotlin@1.2.0 |
Per OSV / GitHub Advisories (GHSA-j3rh-8vwq-wh84). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jhipster | jhipster | < 6.3.0 |
| jhipster | jhipster_kotlin | ≤ 1.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- www.jhipster.tech Release Notes Vendor Advisory