Description
In versions `<=8.5.1` of `jsonwebtoken` library, lack of algorithm definition in the `jwt.verify()` function can lead to signature validation bypass due to defaulting to the `none` algorithm for signature verification. Users are affected if you do not specify algorithms in the `jwt.verify()` function. This issue has been fixed, please update to version 9.0.0 which removes the default support for the none algorithm in the `jwt.verify()` method. There will be no impact, if you update to version 9.0.0 and you don’t need to allow for the `none` algorithm. If you need 'none' algorithm, you have to explicitly specify that in `jwt.verify()` options.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| auth0 | node-jsonwebtoken | <= 8.5.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | jsonwebtoken | < 9.0.0 | 9.0.0 | GHSA-qwph-4952-7xr6 |
Advisories 3
- WID-SEC-2023-1542 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- WID-SEC-2023-1208 HCL BigFix: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 5, 2023
- WID-SEC-2023-0218 IBM Integration Bus: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 29, 2023