CVE-2021-23566

published 14 Jan 2022 · updated 3 Nov 2025

Information Exposure

4.0MediumCVSS 4.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.1.31.

The package nanoid from 3.0.0 and before 3.1.31 are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<3.1.313.1.31

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-23566 severity on Zeptric[![CVE-2021-23566](https://zeptric.io/badge/cve/CVE-2021-23566.svg)](https://zeptric.io/cve/CVE-2021-23566)