What’s Vulnerable › Vulnerabilities
CVE-2017-18924
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-10-04 · updated 2026-06-17
- Weakness: CWE-94
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.
Affected products
- Oauth2-Server Project Oauth2-Server: through 3.1.1
References
- https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467
- https://github.com/oauthjs/node-oauth2-server/issues/637
- https://github.com/oauthjs/node-oauth2-server/pull/452
- https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15
- https://tools.ietf.org/html/rfc7636
- https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467
- https://github.com/oauthjs/node-oauth2-server/issues/637
- https://github.com/oauthjs/node-oauth2-server/pull/452
- https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15
- https://tools.ietf.org/html/rfc7636
Get alerted when CVE-2017-18924 or the next vulnerability affects your stack