CVE-2026-71851: Math Random In Crypto Random Generatorcve-2026-71851-math-random-in-crypto-random-generator
Math.random() is not a cryptographically secure random number generator. Using Math.random() in byte or key generation functions produces predictable values. Use crypto.getRandomValues() or crypto.randomBytes() instead.