GHSA-qrpm-p2h7-hrv2

    Dashboard / Vulnerabilities / GHSA-qrpm-p2h7-hrv2

    GHSA-qrpm-p2h7-hrv2

    Published: 21 Jan 2022Last Modified: 4 Nov 2025

    Summary: Exposure of Sensitive Information to an Unauthorized Actor in nanoid

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

    Affected packages

    Package

    Name: nanoid

    Purl: pkg:npm/nanoid

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 3.0.0
    Fixed -3.1.31

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-qrpm-p2h7-hrv2 | CVE-DB