# jsonwebtoken (npm)

JSON Web Token implementation (symmetric and asymmetric)

- Latest: 9.0.3 (2025-12-04)
- Licence: MIT
- Downloads: 357941354 last month
- Advisories on the latest version: 0

- CVE-2022-23539 HIGH: jsonwebtoken unrestricted key type could lead to legacy keys usage  Fixed in 9.0.0.
- CVE-2022-23541 MODERATE: jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC Fixed in 9.0.0.
- CVE-2022-23540 MODERATE: jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify() Fixed in 9.0.0.
- CVE-2015-9235 CRITICAL: Verification Bypass in jsonwebtoken Fixed in 4.2.2.

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