Live threats

All CVEs / Auth0

CVE-2022-23539Auth0 Jsonwebtoken

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
0.6%
probability of exploitation in 30 days · percentile 41
Auth required
Yes
Published
Dec 23, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-327
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

Versions `<=8.5.1` of `jsonwebtoken` library could be misconfigured so that legacy, insecure key types are used for signature verification. For example, DSA keys could be used with the RS256 algorithm. You are affected if you are using an algorithm and a key type other than a combination listed in the GitHub Security Advisory as unaffected. This issue has been fixed, please update to version 9.0.0. This version validates for asymmetric key type and algorithm combinations. Please refer to the above mentioned algorithm / key type combinations for the valid secure configuration. After updating to version 9.0.0, if you still intend to continue with signing or verifying tokens using invalid key type/algorithm value combinations, you’ll need to set the `allowInvalidAsymmetricKeyTypes` option to `true` in the `sign()` and/or `verify()` functions.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jsonwebtoken.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm jsonwebtoken < 9.0.0 9.0.0 npm install jsonwebtoken@9.0.0

Per OSV / GitHub Advisories (GHSA-8cf7-32gw-wr33). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
auth0jsonwebtoken≤ 8.5.1

Official sources

References

Links published by the sources. Open them with care.