CVE-2015-9235
CRITICAL 9.8CVSS 3.0Verification Bypass in jsonwebtoken
In jsonwebtoken node module before 4.2.2 it is possible for an attacker to bypass verification when a token digitally signed with an asymmetric key (RS/ES family) of algorithms but instead the attacker send a token digitally signed with a symmetric algorithm (HS* family).
- Published
- 29 May 2018
- Last modified
- 10 Sep 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-327
- Also known as
- GHSA-c7hr-j4mj-j2w6
- Sources
- NVDJSONOSV GHSA-c7hr-j4mj-j2w6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | auth0 | jsonwebtokencpe:2.3:a:auth0:jsonwebtoken:*:*:*:*:*:node.js:*:* |
< 4.2.2 | 4.2.2 |
| OSV | npm | jsonwebtoken | < 4.2.2 | 4.2.2 |
References
- https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/ · Broken Link, Vendor Advisory, WEB
- https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687 · Patch, Third Party Advisory, WEB
- https://nodesecurity.io/advisories/17 · Third Party Advisory
- https://www.timmclean.net/2015/02/25/jwt-alg-none.html · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-9235 · ADVISORY
- https://github.com/advisories/GHSA-c7hr-j4mj-j2w6 · ADVISORY
- https://www.npmjs.com/advisories/17 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 29 May 2018)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Oct 2018)