Home / Jhipster / Jhipster / CVE-2019-16303
CVE-2019-16303: is it exploited, and which versions of Jhipster are affected and fixed?
CVE-2019-16303 is a weak random number generator vulnerability in Jhipster. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: generator-jhipster-kotlin before 1.2.0 (GitHub advisory GHSA-j3rh-8vwq-wh84). Fixed in 1.2.0 (GitHub advisory GHSA-j3rh-8vwq-wh84). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:19 UTC.
What is CVE-2019-16303?
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.
From the CVE record by mitre, last updated August 5, 2024, 01:10 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | generator-jhipster-kotlin | < 1.2.0 | 1.2.0 | GHSA-j3rh-8vwq-wh84 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 20, 2023. Summary: JHipster Kotlin using insecure source of randomness `RandomStringUtils` before v1.2.0.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| jhipster | jhipster | before 6.3.0 | application |
| jhipster | jhipster kotlin | through 1.1.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:22 UTC.
How severe is CVE-2019-16303?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-16303 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.67% probability of exploitation activity in the next 30 days, percentile 90.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Where are the vendor advisories and references?
- https://github.com/jhipster/generator-jhipster/security/advisories/GHSA-mwp6-j9wf-968c x_refsource_MISC
- https://github.com/jhipster/generator-jhipster/issues/10401 x_refsource_MISC
- https://github.com/jhipster/generator-jhipster/commit/88448b85fd3e8e49df103f0061359037c2c68ea7 x_refsource_MISC
- https://github.com/jhipster/jhipster-kotlin/issues/183 x_refsource_MISC
- https://www.jhipster.tech/2019/09/13/jhipster-release-6.3.0.html x_refsource_MISC
- [commons-issues] 20200918 [jira] [Created] (LANG-1607) To aid with CVE-2019-16303, consider upgrading RandomStringUtils default RNG mailing-list, x_refsource_MLIST
- [commons-issues] 20200919 [jira] [Commented] (LANG-1607) To aid with CVE-2019-16303, consider upgrading RandomStringUtils default RNG mailing-list, x_refsource_MLIST
- [commons-issues] 20200921 [jira] [Commented] (LANG-1607) To aid with CVE-2019-16303, consider upgrading RandomStringUtils default RNG mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- September 13, 2019
- Published
- September 13, 2019, 23:43 UTC
- CVE record updated
- August 5, 2024, 01:10 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:22 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:19 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Jhipster?
- Jul 25, 2025CVE-2025-43712 JHipster: user Interface (UI) Misrepresentation of Critical Information disputed
- Oct 31, 2023CVE-2015-20110 Jhipster: no limit on login attempts (brute force)
Questions about CVE-2019-16303
Is CVE-2019-16303 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 3.67% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Jhipster are affected by CVE-2019-16303?
generator-jhipster-kotlin before 1.2.0, per the GitHub advisory GHSA-j3rh-8vwq-wh84. The tables above give every range the sources list.
Which version fixes CVE-2019-16303?
1.2.0, per the GitHub advisory GHSA-j3rh-8vwq-wh84. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-16303?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-16303?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.