nanoid (npm) has 5 known vulnerabilities, the worst rated HIGH. No single fixed version is recorded that clears every advisory, so check each one below. No malicious-package signal is recorded.
An integer overflow in nanoid(size) permanently corrupts the process-wide CSPRNG pool, causing all subsequent ID generation to return the deterministic string…
CyberXYZ does not call a package safe in absolute terms. It records 5 known vulnerabilities for nanoid (npm), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Does nanoid have known vulnerabilities?
Yes. CyberXYZ records 5 known vulnerabilities for nanoid (npm), the worst rated HIGH. They are GHSA-xwg4-73v4-xw9w, GHSA-2v37-7h3g-55p8, GHSA-28wg-ghj8-5hjv, GHSA-mwcw-c2x4-8c55, GHSA-qrpm-p2h7-hrv2.
How do I check nanoid before installing?
Search nanoid in CyberXYZ Check at https://cyberxyz.io/check?q=nanoid. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-17 at 13:37 UTC. The most recent advisory here was published 2026-09-01. Updated continuously from NVD, GHSA, OSV and CNA feeds.