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.
References
https://nvd.nist.gov/vuln/detail/CVE-2021-23566
https://github.com/ai/nanoid/pu…