jose
6.2.18 · 18 Nov 2026MIT244.2M / weekRepositorynpmAtom feed
Upgrading jose From 1.28.2 to 2.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 18
- changes to make
- 0
- advisories fixed
- 2
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
Security
3 advisories still affect 2.0.0
- Padding Oracle Attack due to Observable Timing Discrepancy in josemoderate · GHSA-58f5-hfqc-jgch
- jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintextmoderate · GHSA-hhhv-q57g-882q
- JOSE vulnerable to resource exhaustion via specifically crafted JWEmoderate · GHSA-jv3g-j58f-9mq9
Upgrading to 2.0.7 clears them.
Release by release
- Breaking
The
JWE.decryptoptionalgorithmswas removed and replaced with contentEncryptionAlgorithms (handlesencallowlist) and keyManagementAlgorithms (handlesalgallowlist) - Breaking
The
JWT.verifyprofile option was removed, use e.g.JWT.IdToken.verifyinstead. - Breaking
Removed the
maxAuthAgeJWT.verifyoption, this option is now only present at the specific JWT profile APIs where theauth_timeproperty applies. - Breaking
Removed the
nonceJWT.verifyoption, this option is now only present at the specific JWT profile APIs where thenonceproperty applies.
- Breaking
3 internal lines (docs, tests, tooling) left out.
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.