npm package report

Is jsonwebtoken safe?

5 known vulnerabilities, worst severity CRITICAL.

// reach

16 direct dependencies

6 carry known advisories, worst CRITICAL

296 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


cvss
9.0
critical

severity band, no base score published

epss
8.5%
high

chance of exploitation in 30 days, 95th percentile of all CVEs

xyz score
5.7
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-c7hr-j4mj-j2w6, the advisory selected below

// 5 advisories

GHSA-c7hr-j4mj-j2w6

CRITICALGitHub ratingCVE-2015-9235

Versions 4.2.1 and earlier of jsonwebtoken are affected by a verification bypass vulnerability. This is a result of weak validation of the JWT algorithm type, occuring when an attacker is allowed to arbitrarily specify the JWT algorithm.

// recommendation

Update to version 4.2.2 or later.


Checked 2026-11-06 at 21:29 UTC. The most recent advisory here was published 2022-12-22. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.