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

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

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.