CVE-2016-10555
MEDIUM 6.5CVSS 3.0Forgeable Public/Private Tokens in jwt-simple
Since "algorithm" isn't enforced in jwt.decode()in jwt-simple 0.3.0 and earlier, a malicious user could choose what algorithm is sent sent to the server. If the server is expecting RSA but is sent HMAC-SHA with RSA's public key, the server will think the public key is actually an HMAC private key. This could be used to forge any data an attacker wants.
- Published
- 31 May 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-310
- Also known as
- GHSA-vgrx-w6rg-8fqf
- Sources
- NVDJSONOSV GHSA-vgrx-w6rg-8fqfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jwt-simple_project | jwt-simplecpe:2.3:a:jwt-simple_project:jwt-simple:*:*:*:*:*:node.js:*:* |
<= 0.3.0 | |
| OSV | npm | jwt-simple | < 0.3.1 | 0.3.1 |
References
- https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/ · Broken Link, Third Party Advisory, WEB
- https://github.com/hokaccha/node-jwt-simple/pull/14 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/hokaccha/node-jwt-simple/pull/16 · Issue Tracking, Third Party Advisory, WEB
- https://nodesecurity.io/advisories/87 · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-10555 · ADVISORY
- https://github.com/hokaccha/node-jwt-simple/commit/957957cfa44474049b4603b293569588ee9ffd97 · WEB
- https://www.npmjs.com/advisories/87 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 31 May 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Nov 2018)