jose
JWS, JWE, JWT and JWK for Node.js, browsers and other WebCrypto runtimes, with RSA, ECDSA, Ed25519 and ML-DSA signatures, HMAC, RSA-OAEP, ECDH-ES and AES key management, AES-GCM and AES-CBC-HMAC content encryption and PBES2.
In short
What to know.
- Algorithms
- RSA signatures, RSA encryption, ECDSA on P-256, ECDSA on P-384 and 9 more8 of 13 would be broken by a large quantum computer.
- Advisories
- 3 in the storeOSV last read 3 December 2026, 16:48 UTC.
- What to do
- Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from RSA signatures, RSA encryption, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, Ed25519, ECDH (Weierstrass curves), X25519 before large quantum computers exist.
3 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintext | GHSA-hhhv-q57g-882q | from 3.0.0 before 4.15.5; before 2.0.7 | Fixed in 4.15.5, 2.0.7 | Rated Moderate |
| JOSE vulnerable to resource exhaustion via specifically crafted JWE | GHSA-jv3g-j58f-9mq9 | from 1.0.0 before 1.28.2; from 2.0.0 before 2.0.6; from 3.0.0 before 3.20.4; from 4.0.0 before 4.9.2 | Fixed in 1.28.2, 2.0.6, 3.20.4, 4.9.2 | Rated Moderate |
| Padding Oracle Attack due to Observable Timing Discrepancy in jose | GHSA-58f5-hfqc-jgch | from 1.0.0 before 1.28.1; from 2.0.0 before 2.0.5; from 3.0.0 before 3.11.4 | Fixed in 1.28.1, 2.0.5, 3.11.4 | Rated Moderate |
3 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| JOSE vulnerable to resource exhaustion via specifically crafted JWE | NMN-2026-0064 | Severity Moderate | 3 December 2026 |
| jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintext | NMN-2026-0061 | Severity Moderate | 3 December 2026 |
| Padding Oracle Attack due to Observable Timing Discrepancy in jose | NMN-2026-0058 | Severity Moderate | 3 December 2026 |
Reviewed 3 December 2026
Sources
- npm registry metadata for joseregistry.npmjs.orgRetrieved 3 December 2026
- jose READMEgithub.comRetrieved 3 December 2026
- jose Node.js algorithm support listgithub.comRetrieved 3 December 2026
Full record
- Package
- jose
- Ecosystem
- npm
- Role
- Protocol
- Repository
- github.com/panva/jose
- Status
- Not marked deprecated by its registry or maintainers.
- Notes
- Primitives are computed by the runtime (WebCrypto or node:crypto), so which algorithms are available depends on the runtime; the Node.js support list includes ML-DSA-44, ML-DSA-65 and ML-DSA-87.
- Reviewed
- Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
- Advisories read
- Last read from OSV 3 December 2026, 16:48 UTC
- Findings
- 3 listed above.
Algorithms it provides
- RSA signatures signatureClassical public keyBroken by Shor's algorithm
- RSA encryption public-key-encryptionClassical public keyBroken by Shor's algorithm
- ECDSA on P-256 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-384 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-521 signatureClassical public keyBroken by Shor's algorithm
- Ed25519 signatureClassical public keyBroken by Shor's algorithm
- ML-DSA signaturePost-quantumDesigned to resist
- HMAC macSymmetricWeakened by Grover's search
- ECDH (Weierstrass curves) key-exchangeClassical public keyBroken by Shor's algorithm
- X25519 key-exchangeClassical public keyBroken by Shor's algorithm
- AES cipherSymmetricWeakened by Grover's search
- AES-GCM aeadSymmetricWeakened by Grover's search
- PBKDF2 kdfSymmetricWeakened by Grover's search
What a large quantum computer would change
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.RSA signatures, RSA encryption, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, Ed25519, ECDH (Weierstrass curves), X25519
- Designed to resistDesigned to resist known quantum attacks. That is a design goal, not a proof.ML-DSA
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.HMAC, AES, AES-GCM, PBKDF2
Notes describe algorithm families, not any one project.