nanoid@3.1.20 vulnerabilities

A tiny (116 bytes), secure URL-friendly unique string ID generator

Direct Vulnerabilities

Known vulnerabilities in the nanoid package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Information Exposure

Affected versions of this package are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.

How to fix Information Exposure?

Upgrade nanoid to version 3.1.31 or higher.

>=3.0.0 <3.1.31