Is nanoid 3.3 vulnerable?

npm · 21 releases from 3.3.0 to 3.3.20 · latest nanoid is 6.0.2 · checked 1 Nov 2026

No known advisories in the last release

nanoid 3.3.20, the last 3.3 release, has no known advisories. 4 advisories affect earlier 3.3.x releases, so update to 3.3.20.

Update within 3.3:npm install nanoid@3.3.20

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Fixed within 3.3.x, affecting earlier releases

  • HighCVE-2026-73086GHSA-xwg4-73v4-xw9w1 Sept 2026

    nanoid: Integer Overflow or Wraparound

    Affected
    <3.3.12 · >=4.0.0 <5.1.11
    Fixed in
    3.3.12, 5.1.11
  • HighCVE-2026-67214GHSA-28wg-ghj8-5hjv29 Jul 2026

    nanoid: non-secure generators can loop indefinitely with negative size

    Affected
    <3.3.16 · >=4.0.0 <5.1.16
    Fixed in
    3.3.16, 5.1.16
  • HighCVE-2026-67213GHSA-2v37-7h3g-55p829 Jul 2026

    nanoid: custom generators can loop indefinitely when size is zero

    Affected
    <3.3.18 · >=4.0.0 <5.1.6
    Fixed in
    3.3.18, 5.1.6
  • MediumCVE-2024-55565GHSA-mwcw-c2x4-8c559 Dec 2024

    Predictable results in nanoid generation when given non-integer values

    Affected
    >=4.0.0 <5.0.9 · <3.3.8
    Fixed in
    3.3.8, 5.0.9

Which of your client projects are still on nanoid 3.3?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact nanoid version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other nanoid versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.