Advisory

GHSA-4rg6-fm25-gc34

Also known as: CVE-2020-26938

Summary

oauth2-server through 3.1.1 vulnerable to Open Redirect

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-08-30 00:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

oauth2-server

npm · All systems

Affected

  • introduced 0, last affected 3.1.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences