Affected versions of this package are vulnerable to Improper Input Validation due to the mishandling of fractional values in the nanoid function. By exploiting this vulnerability, an attacker can achieve an infinite loop.
nanoid
Upgrade nanoid to version 3.3.8, 5.0.9 or higher.