| Package | Affected versions | Patched versions |
|---|---|---|
| jsonwebtoken | < 4.2.2 | 4.2.2 |
| jsonwebtoken | < 4.2.2 | 4.2.2 |
Versions 4.2.1 and earlier of jsonwebtoken are affected by a verification bypass vulnerability. This is a result of weak validation of the JWT algorithm type, occuring when an attacker is allowed to arbitrarily specify the JWT algorithm.
Update to version 4.2.2 or later.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free