{"id":"CVE-2015-9235","published":"2018-05-29T20:00:00Z","modified":"2024-09-16T23:05:54Z","title":"In jsonwebtoken node module before 4.2.2 it is possible for an attacker to bypass verification when a token digitally…","vendor":"HackerOne","product":"jsonwebtoken node module","tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08367,"percentile":0.95095,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://nodesecurity.io/advisories/17","tags":["x_refsource_MISC"]},{"url":"https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687","tags":["x_refsource_MISC"]},{"url":"https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/","tags":["x_refsource_MISC"]},{"url":"https://www.timmclean.net/2015/02/25/jwt-alg-none.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":19.02},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":4,"skipped":0,"earliest":"2022-01-13","earliestUrl":"https://github.com/aalex954/jwt-key-confusion-poc","repos":[{"name":"z-bool/Venom-JWT","url":"https://github.com/z-bool/Venom-JWT","stars":287,"created":"2025-01-27"},{"name":"Nxvh1337/CVE-2015-9235_JWT_key_confusion","url":"https://github.com/Nxvh1337/CVE-2015-9235_JWT_key_confusion","stars":3,"created":"2023-09-10"},{"name":"aalex954/jwt-key-confusion-poc","url":"https://github.com/aalex954/jwt-key-confusion-poc","stars":2,"created":"2022-01-13"},{"name":"tierChampion/POC_CVE-2015-9235","url":"https://github.com/tierChampion/POC_CVE-2015-9235","stars":0,"created":"2026-03-11"}]},"first":{"date":"2022-01-13","source":"PoC-in-GitHub","url":"https://github.com/aalex954/jwt-key-confusion-poc"},"provenance":"source"},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"jsonwebtoken node module","versions":["<4.2.2"]}],"affected":[{"ecosystem":"npm","package":"jsonwebtoken","vulnerableRanges":["<4.2.2"],"patched":["4.2.2"],"from":["GHSA-c7hr-j4mj-j2w6"],"provenance":"source"}],"summary":{"text":"The flaw is an algorithm confusion weakness in the jsonwebtoken Node module, affecting versions before 4.2.2, where token verification can be bypassed by an attacker. The module fails to enforce that tokens signed with an asymmetric key (RS/ES family) are verified with that asymmetric algorithm, instead accepting tokens signed with a symmetric algorithm (HS family).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:53:46Z"},"euvd":{"id":"EUVD-2018-0569","exploited":false,"provenance":"source"}}