7.6

CVE-2022-23540: auth0 jsonwebtoken Improper Authentication

CVSS: 7.6v3.1HighModified
AliasesGHSA-qwph-4952-7xr6
Published 22-12-2022Last modified 13-02-2025

Vulnerability summary

CVE-2022-23540 is a high (CVSS 7.6) Improper Authentication vulnerability in auth0 jsonwebtoken. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 44.9% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.6/10
010
High · v3.1 (NVD)
EPSS score
0.55%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 22-12-2022
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.55%

Chance of exploitation in the next 30 days

Percentile

45%

Versus all other CVEs

30-day change

+0.02 pp

From 0.53% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.55%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Auth02 products
Npm1 product
  • jsonwebtoken< 9.0.0

2 vendors · 3 products

References

6 links