{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-23540","published":"2022-12-22T19:15:08.967000Z","last_modified":"2026-06-17T04:30:19.267000Z","status":"Modified","cvss":{"version":"3.1","score":7.6,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-287","CWE-347"],"cpes":[{"criteria":"cpe:2.3:a:auth0:jsonwebtoken:*:*:*:*:*:node.js:*:*","part":"a","vendor":"auth0","product":"jsonwebtoken","version_end_including":"8.5.1"}],"cpes_truncated":false,"vendors":["auth0"],"products":["auth0/jsonwebtoken"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00586,"percentile":0.42001,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-qwph-4952-7xr6","ecosystem":"npm","name":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"introduced":"0","fixed":"9.0.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":46,"links":{"html_es":"/es/cve/CVE-2022-23540/","html_en":"/en/cve/CVE-2022-23540/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23540","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23540"},"untrusted":{"vendor_name":"Auth0","product_name":"Jsonwebtoken","desc_en":"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":[{"untrusted_vendor":"auth0","untrusted_product":"node-jsonwebtoken","versions":[]}],"references":[{"url":"https://github.com/auth0/node-jsonwebtoken/commit/e1fa9dcc12054a8681db4e6373da1b30cf7016e3","tags":["Patch"]},{"url":"https://github.com/auth0/node-jsonwebtoken/security/advisories/GHSA-qwph-4952-7xr6","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240621-0007/","tags":[]}]}}