{"id":"CVE-2016-10555","details":"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.","aliases":["GHSA-vgrx-w6rg-8fqf"],"modified":"2026-07-08T12:43:49.989575Z","published":"2018-05-31T20:29:02.067Z","references":[{"type":"ADVISORY","url":"https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/"},{"type":"ADVISORY","url":"https://nodesecurity.io/advisories/87"},{"type":"REPORT","url":"https://github.com/hokaccha/node-jwt-simple/pull/14"},{"type":"REPORT","url":"https://github.com/hokaccha/node-jwt-simple/pull/16"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hokaccha/node-jwt-simple","events":[{"introduced":"0"},{"last_affected":"3977b63548f466c8f2bdf4d881e1ed957dc23589"}],"database_specific":{"cpe":"cpe:2.3:a:jwt-simple_project:jwt-simple:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.3.0"}],"source":"CPE_RANGE"}}],"versions":["v0.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10555.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}