Description
The package otp-generator before 3.0.0 are vulnerable to Insecure Randomness due to insecure generation of random one-time passwords, which may allow a brute-force attack.
Remediation
References
https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70
https://github.com/Maheshkumar-Kakade/otp-generator/issues/12
https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480
Related Vulnerabilities
CVE-2020-11023 Vulnerability in maven package org.fujion.webjars:jquery
CVE-2016-10735 Vulnerability in maven package org.webjars.bower:bootstrap-sass
CVE-2018-1000644 Vulnerability in maven package org.eclipse.rdf4j:rdf4j-rio-rdfxml
CVE-2016-15026 Vulnerability in maven package com.googlecode.plist:dd-plist
CVE-2015-8854 Vulnerability in maven package org.webjars.npm:marked