CVE-2015-9235Auth0 Jsonwebtoken
Critical 9.8 No auth needed
Follow: this CVE · Auth0 · Auth0 Jsonwebtoken We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.0
- 9.8
- EPSS
- 8.4% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- May 29, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for Jsonwebtoken.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | jsonwebtoken |
< 4.2.2 |
4.2.2 |
npm install jsonwebtoken@4.2.2 |
Per OSV / GitHub Advisories (GHSA-c7hr-j4mj-j2w6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| auth0 | jsonwebtoken | < 4.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- auth0.com Broken Link Vendor Advisory
- github.com Patch Third Party Advisory
- nodesecurity.io Third Party Advisory
- www.timmclean.net Exploit Third Party Advisory