CVE-2015-9235
highpriority · attend · 52OT risk · highEPSS 0.085 · 95 %ileexploit · PoCEUUSEPSS · scored 2026-10-26
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).
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (4)
Public proof-of-concept and weaponised exploit code.
- Nxvh1337/CVE-2015-9235_JWT_key_confusionautomate CVE-2015-9235 exploitationPoC · poc_in_github
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-c7hr-j4mj-j2w6Verification Bypass in jsonwebtoken2018-10-09ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/cnnvd
- https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687cnnvd
- https://nodesecurity.io/advisories/17cnnvd
- https://www.timmclean.net/2015/02/25/jwt-alg-none.htmlcnnvd
- https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/enisa_euvd
- https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687enisa_euvd
- https://nodesecurity.io/advisories/17enisa_euvd
- https://www.timmclean.net/2015/02/25/jwt-alg-none.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan