Description
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.
Recommendation
Update the nanoid package to the latest compatible version. Followings are version details:
- Affected version(s): >= 3.0.0, < 3.1.31
- Patched version(s): 3.1.31
References
Could your website be exposed too?
SmartScanner can check your website for Exposure of Sensitive Information to an Unauthorized Actor in nanoid and gives you actionable findings to investigate.
Start a free scanRelated Issues
- @kilocode/cli Vulnerable to Exposure of Sensitive Information to an Unauthorized Actor - CVE-2026-8766
- Converse.js Exposure of Sensitive Information - CVE-2018-6591
- Exposure of Sensitive Information in eventsource - CVE-2022-1650
- Exposure of Sensitive Information in simple-get - CVE-2022-0355
You might also like:
See something that needs correcting? Let us knowUpdated November 04, 2025


