jose
6.2.18 · 18 Nov 2026MIT244.2M / weekRepositorynpmAtom feed
1.28.2 is the newest release of 1.x.
In short
2 breaking1 new
- Breaking
at+JWTJWT draft profile - in the draft's Section 2.2 the claimsiatandjtiare now REQUIRED (was RECOMMENDED). - Breaking
Draft specification profiles are updated as minor versions of the library, therefore, since they may have breaking changes, use the
~semver operator when using these and pay close attention to changelog and the drafts themselves.
Security
3 advisories affect 1.26.0; 2.0.7 fixes them
- Moderatejose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintextGHSA-hhhv-q57g-882q · 7 Mar 2024Fixed in 2.0.7
- ModerateJOSE vulnerable to resource exhaustion via specifically crafted JWEGHSA-jv3g-j58f-9mq9 · 16 Sep 2022Fixed in 1.28.2
- ModeratePadding Oracle Attack due to Observable Timing Discrepancy in joseGHSA-58f5-hfqc-jgch · 19 Apr 2021Fixed in 1.28.1
Release note
Features
Update JWT Profile for OAuth 2.0 Access Tokens to latest draft
Breaking changes
- Breaking
at+JWTJWT draft profile - in the draft's Section 2.2 the claimsiatandjtiare now REQUIRED (was RECOMMENDED).
Draft specification profiles are updated as minor versions of the library, therefore, since they may have breaking changes, use the ~ semver operator when using these and pay close attention to changelog and the drafts themselves.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.