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.
{
"cwe_ids": [
"CWE-200",
"CWE-704"
],
"github_reviewed": true,
"github_reviewed_at": "2022-01-18T21:54:04Z",
"severity": "MODERATE",
"nvd_published_at": "2022-01-14T20:15:00Z"
}