Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/jsonwebtoken@8.1.0
purl pkg:npm/jsonwebtoken@8.1.0
Next non-vulnerable version 9.0.0
Latest non-vulnerable version 9.0.0
Risk 4.0
Vulnerabilities affecting this package (3)
Vulnerability Summary Fixed by
VCID-2293-mydj-7bg4
Aliases:
CVE-2022-23540
GHSA-qwph-4952-7xr6
jsonwebtoken: Insecure default algorithm in jwt.verify() could lead to signature validation bypass
9.0.0
Affected by 0 other vulnerabilities.
VCID-56kh-94nv-5khy
Aliases:
CVE-2022-23539
GHSA-8cf7-32gw-wr33
jsonwebtoken: Unrestricted key type could lead to legacy keys usagen
9.0.0
Affected by 0 other vulnerabilities.
VCID-6mrt-me4e-6fh2
Aliases:
CVE-2022-23541
GHSA-hjrf-2m68-5959
jsonwebtoken: Insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC
9.0.0
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T03:20:27.103272+00:00 GitLab Importer Affected by VCID-56kh-94nv-5khy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jsonwebtoken/CVE-2022-23539.yml 38.6.0
2026-06-06T03:20:18.114194+00:00 GitLab Importer Affected by VCID-6mrt-me4e-6fh2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jsonwebtoken/CVE-2022-23541.yml 38.6.0
2026-06-06T03:20:16.931614+00:00 GitLab Importer Affected by VCID-2293-mydj-7bg4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jsonwebtoken/CVE-2022-23540.yml 38.6.0