GHSA-qwph-4952-7xr6 · Severity: medium · Ecosystem: npm — jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify()
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.
Conclusion & alert: CVE-2022-23540 is rated Moderate Risk (40.3/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.53%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.02% | 0.53% | +0.52% |
| 2 | 2025-11-21 | 0.12% | 0.02% | -0.11% |
| 3 | 2025-11-18 | — | 0.12% | — |
Full EPSS history (9 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.4 | 3.1 | MEDIUM |
|
1.6 | 4.7 | [email protected] |
| 7.6 | 3.1 | HIGH |
|
2.8 | 4.7 | [email protected] |
GHSA-qwph-4952-7xr6 · Severity: medium · Ecosystem: npm — jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify()
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-23540 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| auth0 | jsonwebtoken | <= 8.5.1 | cpe:2.3:a:auth0:jsonwebtoken:*:*:*:*:*:node.js:*:* |