In short
What to know.
- Package
- jsonwebtoken npmbefore 4.2.2
- What to do
- Upgrade jsonwebtoken to 4.2.2 or later.
- Source's rating
- CriticalNoumen has not assessed it.
- Noumen finding
- NMN-2026-0057Candidate. Severity critical, confidence high.
3 December 2026
Source
- OSV record GHSA-c7hr-j4mj-j2w6osv.devRetrieved 3 December 2026
Full record
- Identifier
- GHSA-c7hr-j4mj-j2w6
- Aliases
- CVE-2015-9235
- Severity
- Critical, as rated by the source. Noumen has not assessed it.
- Fixed versions
- 4.2.2
- Published
- 9 October 2018
- Modified
- 10 September 2026
- Source
- OSV record GHSA-c7hr-j4mj-j2w6, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| jsonwebtoken npm | before 4.2.2 | 4.2.2 |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
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.
References
- advisorynvd.nist.gov/vuln/detail/CVE-2015-9235
- webgithub.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687
- webauth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries
- advisorygithub.com/advisories/GHSA-c7hr-j4mj-j2w6
- webwww.npmjs.com/advisories/17
- webwww.timmclean.net/2015/02/25/jwt-alg-none.html
