CVE-2020-26938 oauth2-server through 3.1.1 vulnerable to Open Redirect
HighCVSS 7.2
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
Description
In oauth2-server (aka node-oauth2-server) through 3.1.1, the value of the redirect_uri parameter received during the authorization and token request is checked against an incorrect URI pattern ("[a-zA-Z][a-zA-Z0-9+.-]+:") before making a redirection. This allows a malicious client to pass an XSS payload through the redirect_uri parameter while making an authorization request. NOTE: this vulnerability is similar to CVE-2020-7741.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm oauth2-server(npm) | <= 3.1.1 | after 3.1.1 | Fixed |
| oauth2-server project oauth2-server | <= 3.1.1 | after 3.1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm oauth2-server(npm) | <= 3.1.1 | No fix listed |
| oauth2-server project oauth2-server | <= 3.1.1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking third-party-advisory
- github.com exploit third-party-advisory
- github.com exploit third-party-advisory
- tools.ietf.org third-party-advisory
- tools.ietf.org third-party-advisory
- github.com
- github.com product