Vulnerability Database · npm · jsonwebtoken · Version
jsonwebtoken 4.2.1
4.2.1 is affected by 5 vulnerabilities.
The vulnerabilities that cover this exact version are listed below with the fixed version to move to. The upgrade Vulert recommends: 9.0.3.
Critical 1 High 2 Medium 2 Low 0 Unrated 0
-
Released 17 Mar 2015
Status deprecated release
Licence MIT
Also known from other sources 4
Newer releases 82
Database updated 23/Oct/2026
Release and licence data published by the npm registry. Licence information is not legal advice.
Concerned about your application's security?
Vulert continues monitoring your dependencies and alerts you when new vulnerabilities are disclosed. No installation and no source-code access required.
01 Vulnerabilities affecting this version
jsonwebtoken 4.2.1 vulnerabilities
5 vulnerabilities cover jsonwebtoken 4.2.1. Open the full list in the database.
| Vulnerability | Severity | Fixed version | Disclosed |
|---|---|---|---|
| CVE-2022-23539: Insecure Key Type Usage in jsonwebtoken | 8.1 high | 9.0.0 | 22 Dec 2022 |
| CVE-2022-23529: Insecure Input Validation in jsonwebtoken Library | 7.6 high | 9.0.0 | 22 Dec 2022 |
| CVE-2022-23540: Insecure Default Algorithm in jsonwebtoken Library | 6.4 medium | 9.0.0 | 22 Dec 2022 |
| CVE-2022-23541: Insecure Implementation of Key Retrieval Function in jsonwebtoken | 5.0 medium | 9.0.0 | 22 Dec 2022 |
| CVE-2015-9235: Verification Bypass in jsonwebtoken | N/A critical | 4.2.2 | 09 Oct 2018 |
Looking for another version, or everything Vulert holds for jsonwebtoken?
Questions
About jsonwebtoken 4.2.1
Is jsonwebtoken 4.2.1 vulnerable?
Yes. 5 vulnerabilities in the Vulert database cover jsonwebtoken 4.2.1: 1 critical, 2 high, 2 medium and 0 low. The upgrade Vulert recommends is 9.0.3, and each entry above names the fixed version to move to.
Which version of jsonwebtoken should I use instead of 4.2.1?
9.0.3 is the version Vulert recommends for this release line. The version table on the package page lists every release with the vulnerabilities recorded against it.
Is 4.2.1 the latest release of jsonwebtoken?
No. 4.2.1 was published 17 Mar 2015, and newer releases exist. Newer is not automatically safer — the version table on the package page shows what each release carries.
How do I monitor jsonwebtoken for upcoming vulnerabilities?
Upload the manifest or SBOM for your application at vulert.com/scanner and Vulert keeps checking the jsonwebtoken version you actually run against new disclosures, then alerts you when one affects it. There is no installation and no source-code access required.