# nanoid (npm) vulnerabilities

5 known vulnerabilities (3 high, 2 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Weekly downloads: 360M
- Dependents: 3,160
- Registry: https://www.npmjs.com/package/nanoid

## Advisories (5)

### [CVE-2026-73086](https://cve.now/CVE-2026-73086): nanoid: Integer Overflow or Wraparound

- Severity: High 7.4
- Published: Aug 11, 2026
- Affected: fixed in 3.3.12; from 4.0.0, fixed in 5.1.11.

### [CVE-2026-67214](https://cve.now/CVE-2026-67214): nanoid Infinite Loop via Negative Size in non-secure module

- Severity: High 8.2
- Published: Jul 29, 2026
- Affected: fixed in 3.3.16; from 4.0.0, fixed in 5.1.16.

### [CVE-2026-67213](https://cve.now/CVE-2026-67213): nanoid before 5.1.6 Infinite Loop via Zero Size in customAlphabet and customRandom

- Severity: High 8.2
- Published: Jul 29, 2026
- Affected: fixed in 3.3.18; from 4.0.0, fixed in 5.1.6.

### [CVE-2024-55565](https://cve.now/CVE-2024-55565): nanoid (aka Nano ID) before 5.0.9 mishandles non-integer values.

- Severity: Medium 4.3
- Published: Dec 9, 2024
- Affected: from 4.0.0, fixed in 5.0.9; fixed in 3.3.8.

### [CVE-2021-23566](https://cve.now/CVE-2021-23566): Information Exposure

- Severity: Medium 4.0
- Published: Jan 14, 2022
- Affected: from 3.0.0, fixed in 3.1.31.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/nanoid
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
