CWE•Base•Draft•20 recent CVEs
CWE-601URL Redirection to Untrusted Site ('Open Redirect')
Description
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
Common consequences
- Access Control→Bypass Protection Mechanism,Gain Privileges or Assume IdentityThe user may be redirected to an untrusted page that contains malware which may then compromise the user's system. In some cases, an open redirect can also enable the immediate download of a file without the user's permission, because the r
- Access Control,Confidentiality,Other→Bypass Protection Mechanism,Gain Privileges or Assume Identity,OtherBy modifying the URL value to a malicious site, an attacker may successfully launch a phishing scam. The user may be subjected to phishing attacks by being redirected to an untrusted page. The phishing attack may point to an attacker contro
Potential mitigations
- Implementation[object Object]
- Architecture and DesignUse an intermediate disclaimer page that provides the user with a clear warning that they are leaving the current site. Implement a long timeout before the redirect occurs, or force the user to click on the link. Be careful to avoid XSS problems (CWE-79) when generating the disclaimer page.
- Architecture and Design[object Object]
- Architecture and DesignEnsure that no externally-supplied requests are honored by requiring that all redirect requests include a unique nonce generated by the application [REF-483]. Be sure that the nonce is not predictable (CWE-330).
- Architecture and Design,Implementation[object Object]
- OperationUse an application firewall that can detect attacks against this weakness. It can be beneficial in cases in which the code cannot be fixed (because it is controlled by a third party), as an emergency prevention measure while more comprehensive software assurance measures are applied, or to provide defense in depth [REF-1481].
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-418444.22026-06-09CVE-2026-115023.12026-06-08CVE-2026-114774.32026-06-08CVE-2026-218266.12026-06-05CVE-2026-108616.12026-06-04CVE-2026-108566.12026-06-04CVE-2026-439242026-06-03CVE-2026-415696.12026-06-02CVE-2026-401816.12026-06-02CVE-2026-452783.32026-06-01CVE-2026-409617.22026-06-01CVE-2026-493803.12026-05-29CVE-2026-453076.12026-05-28CVE-2026-446816.12026-05-27CVE-2026-453355.42026-05-27CVE-2026-490594.72026-05-27CVE-2026-489244.32026-05-27CVE-2026-448335.92026-05-26CVE-2026-485892026-05-25CVE-2026-445982026-05-25