CVE-2017-18924
HIGH 7.5CVSS 3.1Code Injection in oauth2-server
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.
- Published
- 4 Oct 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-2fw4-mgq9-39cx
- Sources
- NVDJSONOSV GHSA-2fw4-mgq9-39cxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | oauth2-server_project | oauth2-servercpe:2.3:a:oauth2-server_project:oauth2-server:*:*:*:*:*:node.js:*:* |
<= 3.1.1 | |
| OSV | npm | oauth2-server | <= 3.1.1 |
References
- https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467 · Third Party Advisory, WEB
- https://github.com/oauthjs/node-oauth2-server/issues/637 · Exploit, Third Party Advisory, WEB
- https://github.com/oauthjs/node-oauth2-server/pull/452 · Patch, Third Party Advisory, WEB
- https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15 · Exploit, Third Party Advisory, WEB
- https://tools.ietf.org/html/rfc7636 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-18924 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 4 Oct 2020)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 22 Apr 2021)