{"id":"CVE-2017-18924","aliases":["GHSA-2fw4-mgq9-39cx"],"kind":"cve","tier":"cold","status":"published","title":"Code Injection in oauth2-server","description":"oauth2-server (aka node-oauth2-server) through 3.1.1 implements OAuth 2.0 without PKCE. It does not prevent authorization code injection. This is similar to CVE-2020-7692. NOTE: the vendor states 'As RFC7636 is an extension, I think the claim in the Readme of \"RFC 6749 compliant\" is valid and not misleading and I also therefore wouldn't describe this as a \"vulnerability\" with the library per se.","ai_summary":null,"severity":"high","cvss":{"score":7.5,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"NVD"},"scores":[{"score":7.5,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd"},{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"nvd"}],"cwe":["CWE-94"],"remote":true,"remote_unauth":true,"epss":{"score":0.0219,"percentile":0.83168,"date":"2026-11-28"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[]},"affected":[{"ecosystem":"npm","name":"oauth2-server","affected":"<= 3.1.1","fixed":[],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18924","kind":"vendor"},{"url":"https://github.com/oauthjs/node-oauth2-server/pull/452","kind":"patch"},{"url":"https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15","kind":"exploit"},{"url":"https://github.com/oauthjs/node-oauth2-server/issues/637","kind":"exploit"},{"url":"https://tools.ietf.org/html/rfc7636","kind":"other"},{"url":"https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467","kind":"other"}],"workarounds":null,"vendors":["oauth2-server_project"],"products":["oauth2-server"],"cpes":["cpe:2.3:a:oauth2-server_project:oauth2-server:*:*:*:*:*:node.js:*:*"],"published_at":"2020-10-04T04:38:47.000Z","modified_at":"2026-06-17T01:13:50.523Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18924"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-2fw4-mgq9-39cx","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2017-18924","markdown":"https://flawdb.com/CVE-2017-18924.md","json":"https://flawdb.com/api/v1/entries/CVE-2017-18924"}}