{"id":"GHSA-c7hr-j4mj-j2w6","summary":"Verification Bypass in jsonwebtoken","details":"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.\n\n\n\n\n## Recommendation\n\nUpdate to version 4.2.2 or later.","aliases":["CVE-2015-9235"],"modified":"2026-02-04T02:13:53.680951Z","published":"2018-10-09T00:38:30Z","related":["CGA-2gc5-c4jx-2jhj"],"database_specific":{"severity":"CRITICAL","nvd_published_at":null,"cwe_ids":["CWE-20"],"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:30:27Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-9235"},{"type":"WEB","url":"https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687"},{"type":"WEB","url":"https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c7hr-j4mj-j2w6"},{"type":"WEB","url":"https://www.npmjs.com/advisories/17"},{"type":"WEB","url":"https://www.timmclean.net/2015/02/25/jwt-alg-none.html"}],"affected":[{"package":{"name":"jsonwebtoken","ecosystem":"npm","purl":"pkg:npm/jsonwebtoken"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.2.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-c7hr-j4mj-j2w6/GHSA-c7hr-j4mj-j2w6.json"}}],"schema_version":"1.7.3"}