GHSA-6qqf-vvcr-7qrv
MEDIUMCryptographically Weak PRNG in generate-password
Affected versions of generate-password generate random values that are biased towards certain characters depending on the chosen character sets. This may result in guessable passwords.
Recommendation
Update to version 1.4.1 or later.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | generate-password | < 1.4.1 | 1.4.1 |
References
- https://github.com/brendanashworth/generate-password/pull/26 · WEB
- https://www.npmjs.com/advisories/762 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 23 May 2019)