ADVISORIES

Vulnerability

CVE-2021-23566

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.

5 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 3Ubuntu 1npm 1

Advisories

  • DEBIAN-CVE-2021-23566

    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.

    CVE-2021-23566 Debian Updated 23 October 2026
  • DLA-4003-1

    node-postcss - security update

    CVE-2021-23566CVE-2023-44270CVE-2024-55565 Debian Updated 20 November 2026
  • DLA-4013-1

    node-mocha - security update

    CVE-2021-23566CVE-2024-55565 Debian Updated 20 November 2026
  • GHSA-qrpm-p2h7-hrv2

    Exposure of Sensitive Information to an Unauthorized Actor in nanoid

    Moderate CVE-2021-23566 npm Updated 4 November 2025
  • UBUNTU-CVE-2021-23566

    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.

    CVE-2021-23566 Ubuntu Updated 17 October 2026

References