Install
jsonwebtoken
JSON Web Token implementation (symmetric and asymmetric)
9.0.3Latest, 4 Dec 2025
358MDownloads, last month
0Advisories on the latest
4Advisories, all versions
MITLicence
18KStars
5.4/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | jsonwebtoken unrestricted key type could lead to legacy keys usage CVE-2022-23539 | Fixed in 9.0.0 | 22 Dec 2022 |
| Moderate | jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC CVE-2022-23541 | Fixed in 9.0.0 | 22 Dec 2022 |
| Moderate | jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify() CVE-2022-23540 | Fixed in 9.0.0 | 22 Dec 2022 |
| Critical | Verification Bypass in jsonwebtoken CVE-2015-9235 | Fixed in 4.2.2 | 9 Oct 2018 |
In the news
- Why You Should Delete jsonwebtoken in 2025 ⭐ dev.to, 30 May 2025
- User Authentication -JsonWebTokens (MERN Stack) dev.to, 23 Feb 2025
- How to gracefully catch jsonwebtoken errors in node & express? stackoverflow.com, 9 Nov 2024
- Error uploading file to google drive after installing jsonwebtoken (jwt) stackoverflow.com, 3 Sep 2024
- not able to install jsonwebtoken package for authentication in nodejs stackoverflow.com, 3 Jun 2024
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.